putty for server auto log in

PuTTYgen (puttygen.exe)
Then to automate SSH login, do the following:

Run PuTTYgen.
Select SSH-2 DSA as the Type of Key to generate.
Click generate and move your mouse around to generate randomness.
Click “Save Private Key” and save it somewhere on your computer.
Copy the entire content inside the box to your clipboard (this is your generated public key).
Login to your SSH server.
Create the file ~/.ssh/authorized_keys containing the generated public key (from step 3) on a single line.
Make this file readable (chmod 755).
Then open up PuTTY and navigate to Connection->Data and fill in the auto-login username.
Navigate to Connection->SSH->Auth and under Private-key, browse to the file you had saved earlier on your computer.

Use puTTY to automatically login a SSH session

Leave a Reply

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

WordPress.com Logo

You are commenting using your WordPress.com 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