password-less login

A quick reminder on how to be able to (secure) login from a PC to others.

From the PC, run

ssh-keygen ,

and choose the defaults (just hit enter). Some random artwork is returned, too (??). Then,transfer the file with the public fee to the destination PC:

scp .ssh/ orwell2:

Them, ssh to the desired PC, with your password (for the last time!):

ssh orwell2

Finally, add the file to the list of authorized keys:

mkdir .ssh (may be there already)

cat >> .ssh/authorized_keys



Test it: a simple repetition of ssh orwell2 should login with no password!


One thought on “password-less login

  1. Pingback: password-less login | Sobre el cluster "orwell"

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s