690 B
690 B
SSH Configuration for GitHub Actions Deployment
Problem
Password authentication is disabled on the server, causing SSH connection failures.
Solution
- Access server via cloud provider console/VNC
- Edit /etc/ssh/sshd_config
- Set PasswordAuthentication yes
- Restart SSH: systemctl restart sshd
Current Status
- SSH key generated: /root/.ssh/github_actions
- Public key added to authorized_keys
- Password authentication: DISABLED (needs to be re-enabled)
Next Steps
- Re-enable password authentication temporarily
- Add private key to GitHub Secrets as DEPLOY_KEY
- Update workflow to use SSH key authentication
- Then disable password authentication permanently