How do I connect via SSH from a Windows computer?

Modified on Thu, 18 Jan 2024 at 11:34 AM

If you have Windows on your computer and a UNIX-like system (e.g. Ubuntu, Debian, CentOS, etc.) on your server, you can use PuTTY to establish an SSH connection. This free Windows program consists of a single executable file and does not require installation.

To establish a connection using PuTTY, you need to do the following steps:

  1. Download the correct version of PuTTY at

  2. Run the putty.exe file. The program window will open:

By default, you do not need to change any program settings. It is enough to make sure that the port Port 22 and Connection type - SSH are specified.

In the Host Name (or IP address) field, enter the IP address of the server. Click the Open button.

A PuTTY security warning may appear - this is triggered when you connect to a new server. Click Yes and the connection will continue.

On the command line that appears, enter the username you want to use to log in to the server. The root login is used for the first connection to the server or to connect in administrator mode.

On the next line, enter the user's password. When entering the password, the characters in the command line are not displayed: you can type the password blindly or paste it by right-clicking the mouse, having previously copied (Ctrl+C) it from the manual. 

After typing, press the Enter key. If the user name or password is specified incorrectly, the error "Access denied" will be displayed. If the connection is successful, the command line of the virtual server will open.

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select atleast one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article