Search This Blog

Tuesday, March 20, 2012

ssh key exchange

1. ssh-keygen -t rsa
2. ssh-copy-id -i ~/.ssh/id_rsa.pub remote-host
3. ssh remote-host 'ls -ahl ./ssh/ ' : to check the permisison of authorized_keys file.

No comments:

Post a Comment