Monday, February 1, 2010

SSH without password

the following commands allow an ssh connection without a password

ssh
-keygen -t rsa -P ""
cat $HOME/.ssh/id_rsa.pub >> $HOME/.ssh/authorized_keys
ssh-copy-id hadoop@slave01

No comments:

Post a Comment