Difference between revisions of "PuTTY using key-pair authentication"

From Ever changing code
Jump to navigation Jump to search
Line 1: Line 1:
= Configure PuTTY =
= Configure PuTTY =
Open putty, name the new session here '''London admin''' and add host/IP to connect '''london.remote.access.com''' then press save.
* Open putty, name the new session here '''London admin''' and add host/IP to connect '''london.remote.access.com''' then press save.


[[File:01-name-session.png|400px|Create new session]]
:[[File:01-name-session.png|400px|Create new session]]


Optionally enter Auto-login username, example '''admin''' in Connection > Data section.
* Optionally enter Auto-login username, example '''admin''' in Connection > Data section.


[[File:02-auto-login.png|400px|username auto-login]]
:[[File:02-auto-login.png|400px|username auto-login]]


Choose private key used for authentication. Go to Category Connection > Auth and press Browse.
* Choose private key used for authentication. Go to Category Connection > Auth and press Browse.
Full content of the file can be stored in the company Password Safe in notes. Copy all notes into text editor and saving with PPK extension will re create the needed file.


[[File:03-choose-private-key.png|400px|choose-private-key location]]
<gallery widths=400px heights=400px>
File:03-choose-private-key.png
File:04-select-private-key-file.png
</gallery>


[[File:04-select-private-key-file.png|400px|select private-key PPK file]]
* Full content of the file can be stored in the company Password Safe in notes. Copy all notes into text editor and saving with PPK extension will re create the needed file.


[[File:03-5-copy-key-from-psafe.png|400px|copy key-pair from Password Safe notes]]
:[[File:03-5-copy-key-from-psafe.png|300px|copy key-pair from Password Safe notes]]


Save session by going to Category: Session and press Save.
* Save session by going to Category: Session and press Save.


= Connect =
= Connect =

Revision as of 17:55, 18 November 2013

Configure PuTTY

  • Open putty, name the new session here London admin and add host/IP to connect london.remote.access.com then press save.
Create new session
  • Optionally enter Auto-login username, example admin in Connection > Data section.
username auto-login
  • Choose private key used for authentication. Go to Category Connection > Auth and press Browse.
  • Full content of the file can be stored in the company Password Safe in notes. Copy all notes into text editor and saving with PPK extension will re create the needed file.
copy key-pair from Password Safe notes
  • Save session by going to Category: Session and press Save.

Connect

Open PuTTY, press load London admin, you should not be asked for username

Open ssh session to the server

Enter 'Passphrase for key' that is password used to code the private-key. It was chosen at the time of key-pair creation. After then you will be logged in without prompt for the username password.