Archive

Posts Tagged ‘ssh putty password passwordless security login’

putty passwordless login

May 29th, 2008 Lloyd Leung 2 comments

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.