How to remotely connect to an SSH server with PuTTY in Windows?

Who I am
Craig Zacker
Author and references

What is PuTTY?

PuTTY is a portable application that allows you to establish a remote session with a server through the use of commands. In this sense, PuTTY behaves like a network client which supports various protocols such as SSH, Rlogin or Telnet.

PuTTY was developed in open source and is available for any version of Windows. In addition, it has an interface that appears as a command console and allows you to define connectivity with any server running a dominio SSH. You can even use Putty to set up a router using commands.

What is SSH?

SSH stands for "Secure Shell" and refers to a communication protocol secure that allows you to establish a connection between two operating systems. With this protocol we can control a host computer from a client computer via a command console.

What is SSH for?

SSH is used for encrypt the connection session in order to define a more secure communication. In addition, information can be copied from a server to a client through the use of secure RSA keys.

How to remotely connect to an SSH server with PuTTY in Windows?

If you want to learn a remotely connect to an SSH server via PuTTY, we recommend that you follow the steps below.

Download and install PuTTY

The first step is to download the application PuTTY. To do this, you can go to the official chiark website. Once downloaded, proceed with running the installation file to access the application.

Configura PuTTY

PuTTY requires a configuration which you can adjust from Windows. To do this, double-click the application icon to display a dashboard. There, you have to choose the «Session» option and enter your server address in the «Host» box.

Also, you need to write the number 22 in the "Port" or port field. Mark the SSH protocol, save the configuration with the «Save» button and press the «Open» button.

Enter the terminal

Then a new terminal window will open. This indicates that the connection has been initiated. Therefore, enter username, password and press the «Enter» key.

Organize encryption algorithms

PuTTY allows you to organize a list of three encryption algorithms to get a higher level of security when connecting. Select the "Encryption Options" option in the "SSH" category. Then, with the «Up» and «Down» buttons, establish an order according to your preferences.

Below the security level, you can activate alerts using the "notify below" option. In this way, PuTTY will send a notification every time a connection with insecure encryption is established. If you don't have a Windows system, you can see failed connection attempts to the SSH server in Linux using the Secure Shell protocol.

Log out

When you are done using the remote SSH connection you can disconnetterti. To do this, type exit and press the «Enter» key. This will close the command window.

Aspects to be taken into consideration

The first time the SSH connection occurs, the server sends the key public server to the SSH client. The PuTTY application will show you a message to accept or reject this key. If you accept the key, it will be saved in the registry and will be checked against the one sent by the server each time a new connection is established.

However, if the key changes, PuTTY notifies it in order to verify the authenticity of the key received. This way you will avoid establishing an insecure connection with another server.

add a comment of How to remotely connect to an SSH server with PuTTY in Windows?
Comment sent successfully! We will review it in the next few hours.