Last updated on May 19th, 2019 at 06:03 pm
First we need to make sure ,the public keys is the copied to the Linux box user $home/.ssh/authorized_keys.
If you are doing this for cloud instance, cloud vendor provides the mechanism to update the public keys
Now lets see How to login to Linux with SSH private key from window client
Run the PuTTY program.
The PuTTY Configuration window is displayed, showing the Session panel.
- Enter the public IP address of your instance in the Host Name (or IP address) box,
- Make sure that the Connection type option is set to SSH.
In the Category tree, expand Connection and click Data.
The Data panel is displayed.
In Auto-login username box, enter the username
In the Category tree, expand SSH and then click Auth.
The Auth panel is displayed.
Click the Browse button next to the Private key file for authentication box. Navigate to and open the private key file that matches the public key that is associated with your instance.
In the Category tree, click Session.
The Session panel is displayed.
In the Saved Sessions box, enter a name for this connection configuration and click Save.
Click Open to open the connection.
The PuTTY Configuration window is closed and the PuTTY window is displayed.
If this is the first time you are connecting to an instance, the PuTTY Security Alert window is displayed, prompting you to confirm the public key. Click Yes to continue connecting.
Terminal window will open.
Hope you like this post on How to login to Linux with SSH private key from window client. Please do provide the feedback