What if you need to log in to your remote server from a Windows server!!
We all use well known PUTTY tool for that. Here we will discuss how to log in with a private key using PUTTY.
Open PuTTY Key Generator on Windows and upload your private .pem file.
Open putty key generator >> Load >> choose file
![](https://www.tecoide.com/wp-content/uploads/2023/11/Screenshot-2023-11-28-at-18.35.28.png)
After file upload, a pop-up will come on display as shown in the below image.
![](https://www.tecoide.com/wp-content/uploads/2023/11/Screenshot-2023-11-28-at-18.37.14.png)
Now download the private key by clicking on “save private key”.
![](https://www.tecoide.com/wp-content/uploads/2023/11/Screenshot-2023-11-28-at-18.37.59.png)
Now you are ready to log in to your host using the private key via PuTTY. Open putty and provide the user name and host details.
![](https://www.tecoide.com/wp-content/uploads/2023/11/Screenshot-2023-11-28-at-18.38.26.png)
Extract “SSH” on the left side bar and click on “Auth”
![](https://www.tecoide.com/wp-content/uploads/2023/11/Screenshot-2023-11-28-at-18.39.51.png)
Upload your private key which we generated by the PuTTY key generator. And click on “Open” button.
That’s it!!