putty passwordless login

If you found this, you know what you’re looking for

  1. goto http://www.chiark.greenend.org.uk/~sgtatham/putty/
  2. download puttyGen
  3. run it, with ssh-2 RSA
  4. click generate
  5. leave key passphrase blank.
  6. yeah save both the private and public keys for future use.
  7. at the top of the app, there’s a “OpenSSH authorized_keys” text window, copy and paste the information into ~/.ssh/authorized_keys as one line.  (You’ll need to shell into the box first).

Start putty

  1. enter the ip/host address
  2. enter a session name.
  3. in the menu tree goto: connection->data enter your auto-login name
  4. in the menu tree goto: connection->ssh->auth click browse and select the private key you saved from the above section.
  5. in the menu tree goto: session click save
  6. test, by clicking open.

Enjoy.


Posted

in

,

by

Comments

2 Responses to “putty passwordless login”

  1. Sam MacCutchan Avatar

    You forgot a step: Keep your private key extremely secure, as opposed to very, since you didn’t put a password on it.

  2. Lloyd Leung Avatar

    Sam, you’re right.
    So those that read this, don’t go sharing your private key.

Leave a Reply

Your email address will not be published. Required fields are marked *