Skip to content

Wiresoft · Wiresoft Canada Inc.

Reading display

Your display preferences are saved on this device. Resetting removes the saved selection.

Operating Systems

How to Use SSH with Windows 10

With Windows 10, you can use Secure Shell (SSH) much more easily than with older operating systems. We'll show you how!

By Wiresoft Editorial Team

Published
Content reviewed

Listen to this article

Start reading aloud with a voice from your device. Changing the voice, speed or section stops playback; you can then start again.

Read-aloud settings

Checking available voices.

Overview

With Windows 10, you can use the Secure Shell (SSH) network administration tool much more easily than with older Microsoft operating systems, such as the outdated Windows 7.

The tool allows you to access a computer via a securely encrypted connection and to enter and execute commands via the command line as an administrator. This can be very useful, for example, when installing updates on multiple computers on a network. Data transfers between the host and an SSH client are also easily possible with SSH.

Unlike with Windows 7 or Windows 8.1, the Windows 10 Update 1709, released in 2017, allows users to access an SSH server directly through the operating system itself. It is no longer necessary to use third-party tools.

This feature is already well established in open-source operating systems like Linux—and now Microsoft is following suit with SSH.

Here's How: Using SSH with Windows 10

Press the Windows+R key combination to open the "Run" dialog box. Enter the command "cmd.exe" to open the Command Prompt. (Alternatively, you can open "Windows PowerShell" from the Start menu.)

At the command prompt, type “SSH” to see the syntax of the SSH command. If you’re already familiar with SSH from Linux or Mac, you won’t have to adjust much when using Windows 10—the process is very similar.

If you want to connect to an SSH server, enter the appropriate command. This command varies depending on the name of the network or domain. You can also simply enter the corresponding IP address.

So the command would be:

ssh [email protected]

Normally, the SSH client uses port 22 to connect to the SSH server. If the server uses a different port, you must specify it when connecting. To do this, use the “-p” switch followed by “Port.” If the server uses port 7200, the command might look like this:

ssh [email protected] -p 7200

As you know, SSH encryption is based on key exchange. So, the first time you connect to the server, you’ll be prompted to confirm the corresponding key by entering the command “Yes.” Next, you’ll need to enter your user password.

The connection is now being established, and once it's up, you can run all terminal commands via SSH.

Now that Windows 10 also supports SSH, you can remotely maintain computers running a Linux operating system.

How do I set up an SSH server on Windows 10?

In addition to simply supporting SSH, Windows 10 also offers the option to start an SSH server on Windows. Unlike the SSH client, you have to enable the SSH server manually in Windows 10.

To do this, press WINDOWS+I to open "Settings," then go to "Apps" and select the "Apps & Features" submenu. You'll find the "Optional Features" option there.

Under "Optional Features," click "Add Features," select "OpenSSH Server" from the drop-down list, and then click "Install."

SSH servers are not yet securely implemented in Windows 10. Microsoft therefore explicitly notes that this feature is in beta.

About the authors

Wiresoft Editorial Team

The Wiresoft editorial team explains software, licenses, and how to use Windows, Office, and servers in a clear and practical way. The articles are based on questions that customers ask Wiresoft in their day-to-day lives.

Sources and further reading

Matching productsOperating systems

More on this topic

KEEP THE CONVERSATION GOING

Comments on this article

Reviewed comments and replies from the editorial team.

Comment on this article

There are no currently approved comments on this page yet.

YOUR SELECTION

Your basket