Home > Linux, Technology > putty passwordless login

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.

  1. May 30th, 2008 at 09:32 | #1

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

  2. May 31st, 2008 at 09:19 | #2

    Sam, you’re right.

    So those that read this, don’t go sharing your private key.

  1. No trackbacks yet.