Friday, May 31, 2013

Using a Linux RSA key with Putty for Logging in from Windows Machine to Linux SSH Server


Putty doesnot take the default IDRSA files to do authentication with the server. Here is a step by step tutorial of ow people can connect to the talk.to infra using putty and windows,

Open in, Go to Conversions Menu > Import Key

SELECT THE PRIVATE KEY FILE

ENTER THE PASSPHRASE FOR THE PRIVATE KEY LOCAL DECRYPTION

THIS WINDOW WILL OPEN

GO TO FILE > SAVE PRIVATE KEY

NOW YOU HAVE ABC.PPK for ur use


Now Lets Configure PUTTY for this
OPen Putty: and Navigate to Connection > SSH > Auth in the LEft Hand Tree

Tick in the "Allow Agent Forwarding" , "Allow Attempted changes of username in SSH-2" and Supply the Generated PPK file in the Private Key Section as Demonstrated below

Go to the Kex Portion Just  Above that and select "RSA-based key exchange" from "Algorithm selection policy"

MOVE IT UP ALL THE WAY TO THE TOP USING THE "Up" Button


YOU ARE ALL SET NOW
GO to THE SESSION BRANCH IN THE LHS TREE. AND ENTER THE IP ADDRESS OF THE HOST YOU ARE CONNECTING

Be sure to put in the username and the private key password,
May this prove helpful.


No comments:

Post a Comment