How to connect to SSH on Windows

Learn varios methods and techniques of connection to an SSH server on a Windows machine.
Captain Salem 4 min read
How to connect to SSH on Windows

Secure shell or SSH is a network protocol that is used to facilitate remote connections between a client and a server via the command-line or terminal. For many years, SSH has been defaulted to Linux and UNIX based systems but now readily available in some version of windows.

In this tutorial, we will walk through various methods we can connect to a remote machine using SSH on windows operating system.


Putty is the most popular tool for connecting to SSH on windows and Unix based Machines. Putty is a free, open source SSH client that provides a simple and easy connectivity mechanism for connecting to a remote machine running SSH server daemon.

To start using putty, we need to download it.

  • Once downloaded, install and launch the application. This will present you with a configuration window where you will provide all the required details of the remote machine. You can either provide a Hostname or IP address of the remote machine you wish to connect to.
  • If SSH is running on a custom port apart from the default port 22 you will require to specify it on the configuration window as shown below.

If you wish to save the session you are currently connecting to, you can do so by selecting Save on the Saved Sessions Tab


Once you have provided all the details to connect to your machine, click on Open to launch a new SSH session. If its the first time connecting to the machine, Putty will prompt you to confirm the new key fingerprint and proceed with the connection. Ensure you verify the fingerprint first before proceeding.


Putty will then prompt you provide your login details such as username and password to connect to.


Upon successful authentication, you should be dropped into a shell of the remote system as shown:



Another method of connecting to SSH on windows is by using Cygwin. Cygwin is a popular tool used to run Linux and BSD tools on Windows systems. It can also be used as an SSH client on Windows systems.

  • Launch the application and follow the provided installation instructions.
  • Once installed, launch the application and locate the OpenSSH package under "Net"

Select the dropdown button and select the version you wish to install. Choose the latest one available.

Once the installation has completed, you should have SSH access from your windows command-line.


Another handy tool for connecting via SSH on windows is by using mRemoteNG. mRemoteNG is a powerful tool for connecting to machines using various protocols such as HTTP, FTP, SSH, VNC etc. We will be working with SSH on this tutorial.

download mRemote-Ng

You can also choose to install it using tools such as chocolaty and powershell.

Launch the application select the Use Recommended Settings option.

On the left hand, you can create new connections to remote machines as well as group the machines according to categories. You can also view saved sessions from tools such as putty.

To create a connection via SSH, Right click the Connections tab and select New Connection. You can rename the connection to easily manage connected machines.

mRemoteNG create new connection

Once you have created a new connection, change the protocol to SSH and provide details such as Hostname/IP, username and  password.

mRemoteNG connection details
  • Finally, Click connect to launch a new SSH connection to the remote machine. You can perform tasks such as upload and download files using mRemoteNG.


Those are the three most popular ways to connect to SSH on windows. Although there are other methods to connect to SSH from windows, the above discussed methods are easy and offer effective solution.

Thanks for reading & catch you in the next one.

If you enjoy our content, please consider buying us a coffee to support our work:

More from GeekBits

Join us at GeekBits

Join our members and get a currated list of awesome articles each month.

Great! You’ve successfully signed up.

Welcome back! You've successfully signed in.

You've successfully subscribed to GeekBits.

Success! Check your email for magic link to sign-in.

Success! Your billing info has been updated.

Your billing was not updated.