Sunday, February 27, 2011

SSH/SCP without a password

ssh-keygen -t rsa => press ENTER every time
ssh-copy-id -i ~/.ssh/id_rsa.pub 'user'@'ip'


Enjoy using SSH and SCP without password


PS: "/usr/bin/ssh-copy-id: ERROR: No identities found" this is fixed by "ssh-keygen -t rsa"

No comments:

Post a Comment