2008年7月13日 星期日

ssh auto login without password

#
# run to get /etc/ssh_config, /etc/sshd_config
ssh-host-config

# run to get ~/.ssh/id_rsa.pub
ssh-user-config

# append id_rsa.pub to remote key store
cat ~/.ssh/id_rsa.pub | ssh user@host "cat >> .ssh/authorized_keys"

沒有留言: