Skip to content Skip to sidebar Skip to footer

How to connect SSH to PuTTY on Windows

SSH is widely used to customize settings and is also used for other purposes, such as: B. to establish a connection like a VPN. Like a VPS (Virtual Private Server) that always uses SSH to manage everything on its server, whether it is installing a program, stopping a program, or starting a program, can be done with SSH. It’s just that some users still may not know how to connect using SSH.

If the user currently has their own server, access to SSH is of course required for this enter in administrator mode. There are many things SSH can do with its own server, for example manually installing a desktop, installing LAMP so that it can be used as a website, editing a text and much more. Obviously, SSH always uses port 22 to connect to it.

I myself use SSH for the server I have and it turns out that there are 2 ways to log in at the moment, the first is to use it Username and password usually, and the second way with Username and file type KEY as alternative password. Many VPS providers only offer it without a password with the KEY file file One of them is Amazon. How to connect SSH easily on Windows.


  1. First download the PuTTY program and install the entire program package.

  2. If so, please open PuTTY in the section Host name (IP address) Please enter the IP address or host server that is owned. And below that, choose as SSH with port 22nd.

    How to connect SSH on Windows

  3. Then just click Open minded and wait for it to connect to the server and the user will be asked for it Username and password.

    How to connect SSH on Windows

  4. If the user has the feeling that he does not have a password, he has at least one KEY file for authentication, here PuTTY does not support this unless the user converts first, namely with the PuTTYGen program, which contains a package in this PuTTY- Program is. Just click load, then choose the KEY or PEM file you have and then just press the button Save private key to save it as a format KDP.

    How to connect SSH on Windows

  5. After converting the KEY file to PPK format, now follow the steps second At the top, enter the IP address or host server that you own, but don’t click Open, just pay attention to the menu next to it SSH, please click twice and a submenu will appear again and choose Authentication.

    How to connect SSH on Windows

  6. Pay attention to that Private key file for authentication, please click the button Search underneath and select the PPK file, then click Open. Complete.

    How to connect SSH on Windows


If the user does not have the PuTTYGen program, please download it from the PuTTYGen download page first. The point is that PuTTY cannot use KEY or PEM format files and must use PuTTY’s own format, which is PPK. If the user has logged in and is asked for the password, the written password does not appear, but in fact it is already written and the user can simply continue to write the password as usual and ENTER. If you have any questions about any of the above, please comment.

Hopefully useful and good luck