Skip to content

Instantly share code, notes, and snippets.

@zhanghui9700
Created June 11, 2014 08:58
Show Gist options
  • Save zhanghui9700/89ef2987382a4ecc50f3 to your computer and use it in GitHub Desktop.
Save zhanghui9700/89ef2987382a4ecc50f3 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
@zhanghui9700
Copy link
Author

; vi /etc/nova/nova.conf
; [default]
resize_confirm_window = 10 # 10 second
allow_resize_to_same_host = True

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment