Passwordless SSH Login


Picture:Clock Published on November 2nd, 2008 in Linux, Mac OS X, Other

Note: This will only work on UNIX hosts.

1. Create your private/public key pair, which will create a private key in ~/.ssh/id_rsa a public one in ~/.ssh/id_rsa.pub:
# ssh-keygen -t rsa

2. Now copy your public key over to the remote host:
# scp ~/.ssh/id_rsa.pub username@remote-host.com:~
# ssh username@remote-host.com
# cat ~/id_rsa.pub >> ~/.ssh/authorized_keys

3. You’re done! You can now access the remote host with the same SSH command like before, but won’t be prompted to enter a password anymore!

Share This

Trackback URL for this post:
http://www.yatblog.com/2008/11/02/passwordless-ssh-login/trackback/


1 comment

    Big bonus December 19th, 2009

    Hi it is me.
    Sorry, but:
    Free java casino no download
    casino
    List flash no download casino
    casino
    Virtual casino birthday welcome bonus
    casino
    Flash no download casino without deposit
    casino
    Internet poker web sites

Shout it out!