Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save lapngodoan/fc7a21048a3ee116949b to your computer and use it in GitHub Desktop.
Save lapngodoan/fc7a21048a3ee116949b to your computer and use it in GitHub Desktop.
passwordless ssh host by nova
; allow nova login
usermod -s /bin/bash nova
su - nova
; ssh key
ssh-keygen
; scp key to compute host
scp /var/lib/nova/.ssh/id_rsa.pub root@ComputeHost:/var/lib/nova/.ssh/authorized_keys
; edit /etc/ssh/sshd_config
StrictHostKeyChecking no
UserKnownHostsFile=/dev/null
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment