- Add comprehensive database migrations (001-024) for schema evolution - Enhance API schema with expanded type definitions and resolvers - Add new middleware: audit logging, rate limiting, MFA enforcement, security, tenant auth - Implement new services: AI optimization, billing, blockchain, compliance, marketplace - Add adapter layer for cloud integrations (Cloudflare, Kubernetes, Proxmox, storage) - Update Crossplane provider with enhanced VM management capabilities - Add comprehensive test suite for API endpoints and services - Update frontend components with improved GraphQL subscriptions and real-time updates - Enhance security configurations and headers (CSP, CORS, etc.) - Update documentation and configuration files - Add new CI/CD workflows and validation scripts - Implement design system improvements and UI enhancements
2.3 KiB
2.3 KiB
SSH Setup Troubleshooting
Last Updated: 2024-12-19
Current Issue
SSH key copy is failing with "Permission denied" even though:
- ✅
PROXMOX_ROOT_PASSis in.env - ✅
sshpassis installed - ✅ SSH key exists:
~/.ssh/sankofa_proxmox
Possible Causes
1. Password Authentication Disabled
Proxmox may have password authentication disabled for security. Check:
# On Proxmox node (via Web UI Shell or console)
grep -i "PasswordAuthentication" /etc/ssh/sshd_config
If PasswordAuthentication no, enable it temporarily:
# On Proxmox node
sed -i 's/#PasswordAuthentication yes/PasswordAuthentication yes/' /etc/ssh/sshd_config
sed -i 's/PasswordAuthentication no/PasswordAuthentication yes/' /etc/ssh/sshd_config
systemctl restart sshd
2. Incorrect Password
Verify the password in .env matches the actual root password on Proxmox nodes.
3. SSH Key Already Exists
The key may already be on the server. Check:
ssh -i ~/.ssh/sankofa_proxmox root@192.168.11.10 'cat ~/.ssh/authorized_keys | grep sankofa'
4. Root Login Disabled
Check if root login is allowed:
# On Proxmox node
grep -i "PermitRootLogin" /etc/ssh/sshd_config
Alternative Methods
Method 1: Use Proxmox Web UI Shell
- Log in to https://ml110-01.sankofa.nexus:8006
- Go to: Datacenter → Nodes → ML110-01 → Shell
- Run:
mkdir -p ~/.ssh chmod 700 ~/.ssh echo "YOUR_PUBLIC_KEY_HERE" >> ~/.ssh/authorized_keys chmod 600 ~/.ssh/authorized_keys
Method 2: Manual SSH Copy (Interactive)
# This will prompt for password
ssh-copy-id -i ~/.ssh/sankofa_proxmox.pub root@192.168.11.10
ssh-copy-id -i ~/.ssh/sankofa_proxmox.pub root@192.168.11.11
Method 3: Use Existing SSH Access
If you already have SSH access via another method:
# Copy key using existing access
cat ~/.ssh/sankofa_proxmox.pub | ssh root@192.168.11.10 'cat >> ~/.ssh/authorized_keys'
cat ~/.ssh/sankofa_proxmox.pub | ssh root@192.168.11.11 'cat >> ~/.ssh/authorized_keys'
Verification
After adding keys, test:
ssh -i ~/.ssh/sankofa_proxmox root@192.168.11.10 'hostname'
ssh -i ~/.ssh/sankofa_proxmox root@192.168.11.11 'hostname'