Proxmox SSH Authentication - sullivaneg/Raspberry-Pi-Proxmox-Lab GitHub Wiki
Objective
Disable root password authentication for Proxmox and enable SSH.
Allow Passwordless Login for Pi
Mac
- Generate a SSH Key ->
ssh-keygen -t rsa -b 4096 ssh-copy-id -i ~/.ssh/id_rsa.pub root@<ip>
Windows
- Generate a SSH Key ->
ssh-keygen -t rsa -b 4096 - Copy public key from ~/.ssh
- SSH into Pi -> navigate to ~/.ssh/authorized_keys -> copy key into file
Disable PasswordAuthentication
nano /etc/ssh/sshd_config- Uncomment
PasswordAuthentication yesand change to no sudo systemctl restart sshd