When working with remote servers, SSH keys are a secure and convenient way to authenticate without repeatedly entering passwords.
PuTTY
PuTTY is one of the most popular tools to generate SSH keys on Windows and connect to servers like AWS or DigitalOcean.
In this guide, I’ll walk you through the steps to install PuTTY, create SSH keys, and set up secure connections with servers. Let’s get started!
1. Installing PuTTY
- Download PuTTY from its official website.
- Choose the version that matches your system's configuration (32-bit or 64-bit).
Once downloaded, install PuTTY by following the on-screen instructions.
2. Open PuTTY
- After installation, search for PuTTY in your system's search bar and open it.
This will open the main PuTTY screen where you can generate SSH keys.
3. Generate an SSH Key
- Open PuTTYgen, a key generator tool included with PuTTY. You’ll see the following screen:
- Click on Generate to start creating your SSH key.
- You will be asked to move your mouse randomly over the blank space in the PuTTYgen window to generate randomness (entropy) for a secure key.
After the process is complete, you’ll see your SSH key displayed in the window:
4. Save Your SSH Keys
- Copy the public SSH key displayed in the box. This key will be pasted into the server's SSH settings.
- Click Save private key to store the private key securely on your computer.
Tip: The private key is critical because it can regenerate the public key whenever needed. Make sure to save it in a secure location!
5. Regenerate Public Key from Private Key
If you ever lose your public key, don’t worry! You can easily regenerate it from your saved private key.
- Open PuTTYgen again.
- Click on Load and select your saved private key file.
Your public key will be displayed again, ready to use.
6. Connect to a Server Using Your SSH Key
Now that your SSH keys are ready, you can use them to connect to remote servers. Simply:
- Copy the public key to your server's SSH settings (e.g., AWS or DigitalOcean).
- Use the private key when logging in through PuTTY to authenticate securely.
Final Thoughts
Setting up SSH keys on Windows using PuTTY is straightforward and ensures secure connections to remote servers. Remember these key points:
- Save your private key securely.
- Use your public key to set up server authentication.
Stay Connected - @syedamahamfahim 🐬






Top comments (1)
Maham pyaar sa baat tou tumha kabhi smjh ati hi nhi h
You know what you were flirting with me at that time (okay it was normal for you but not for me dekh k karna tha) bakra eid par sab bata tou dia tha mna
but khair tumna phir baat krli
tum heart broken thi i understand theek tha but farewell theek tha
mri ho sakta h tumsa kabhi kaha deta ya nhi kahta
but you unfollowed me on insta and rahim add tha abhi bhi add krlia tumna (remove rahim and umar today)
but obviously i took everything to heart mra liye achi wali maham thi okay
phir choice thi na ieee k baad nhi krti baat you lost your choice at that moment
theek h if you are good with me i will give you all the love and everything
but have it your way now
tum theeek kro gi sab ya baat apna dimag ma betha lou
batao kab aao gi ma rishta la kar aao ga
kaam ki baat krna sa mna kab mana kra tumhari koi na koi harkat hi aesi hoti k banda ki hat jaye
kabhi koi tum pooch leta h k ap theek nhi h tou mjhsa share krla, kabhi kuch kabhi kuch bhaeee
insaan ban jao tum
and batao rishta kab bhjo
bus bhool jao
hamari baatein hamara darmiyaan h
mna kabhi kisi sa buraye nhi kri mehak sa sirf yahi kaha tha tumha smjhaye
and cmon yr flirt krna sa phla sochti tumha lagta h tum mjha use kro gi aur chali jao nice nice maham
cmon