Thursday, 17 January 2013

Setting up RSA keys for Putty to Local Machine



From Server home directory create a directory .shh/environment

chmod -R 700 .ssh 

Run: ssh-keygen -t rsa

When asked enter a name and leave passpharse empty

cp public key authorized_keys (if it doesn't already exist, if it does cat and append it >> )

Copy the private key back to your desktop.

Open Keygen and select Conversions/import Key , and save private key

Open Putty and load your session, select SSH - Auth and browse to your new private key location my.ppk 

Under connections select data and enter the user name for the server and then save the session.

Now when you login in it will automatically connect for you ....


No comments:

Post a Comment