Created
June 11, 2014 08:58
-
-
Save zhanghui9700/89ef2987382a4ecc50f3 to your computer and use it in GitHub Desktop.
passwordless ssh host by nova
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
; 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
; vi /etc/nova/nova.conf
; [default]
resize_confirm_window = 10 # 10 second
allow_resize_to_same_host = True