Client

  1. How To Install Open Ssh Server
Active2 months ago

I would like to install the Microsoft-provided OpenSSH client for Windows 10 on machines that do not have internet access.

With most versions of Linux, OpenSSH already comes installed for client and server side. To make sure it’s installed on both ends, we will first run an install on both sides. Run the following commands to install the server and client software needed.

Typically the instructions for installing the OpenSSH client involve running a command like this in PowerShell:

Or alternatively using the DISM tool in a command prompt:

How to install open ssh on mac

However, I have found that these commands only work if the machine has internet access, which makes sense since each command uses the 'Online' switch. The existence of the 'Online' switch makes me think that there might be a way to perform the installation offline. Such an offline installation would probably require files to be downloaded and placed on the machines, which Add-WindowsCapability or DISM.exe knows how to use.

Windows openssh client install

Is it possible to install the OpenSSH client without internet access?

millinonmillinon

1 Answer

If you are willing to accept a sort of manual and hacky way, it is possible to download their official releases, extract the binaries and add them to your PATH environment variable.

wlnirvanawlnirvana

Not the answer you're looking for? Browse other questions tagged sshwindows-10dism or ask your own question.

As you may already know, Windows 10 includes built-in SSH software - both a client and a server! It is very useful when you need to access a Linux server quickly. Everything can be done with just a few clicks, without installing extra software.

RECOMMENDED: Click here to fix Windows errors and optimize system performance


On Windows machines, the freeware open-source software PuTTY is the de-facto standard when it comes to SSH and Telnet. With Windows 10, Microsoft has finally listened to its users after years of them requesting an SSH client and server. By including an OpenSSH implementation, the value of the OS increases.

At the moment of this writing, the OpenSSH software included in Windows 10 is at a BETA stage. This means it can have some stability issues.

The provided SSH client is similar to the Linux client. At first glance, it appears to support the same features as its *NIX counterpart. It is a console app, so you should be able to start it from the command prompt. Let's enable it.

Enable OpenSSH Client in Windows 10

  1. Open the Settings app and go to Apps -> Apps & features.
  2. On the right, click Manage optional features.
  3. On the next page, click the button Add a feature.
  4. In the list of features, select OpenSSH Client and click on the Install button.

This will install the OpenSSH Client software in Windows 10. Its binary files are located under the folder c:windowssystem32Openssh. Besides the SSH client, the folder contains the following client tools:

  • scp.exe
  • sftp.exe
  • ssh-add.exe
  • ssh-agent.exe
  • ssh-keygen.exe
  • ssh.exe
  • and the config file 'sshd_config'.

I suggest you to sign out from your user account and sign in back in order to add these binaries to the PATH environment variable. Otherwise, you will have to type the full path to these binaries to use them.

Now, you can try it in action.

How to use the OpenSSH client on Windows 10

  1. Open a new command prompt window.
  2. Type the ssh command using the following syntax:

    For example, I will connect to my Raspberry PI-based media center:

    The result will be as follows:

The built-in client is almost identical to the traditional SSH client from the OpenSSH package available on Linux. It brings the same console experience. It is very useful when you need to change some configuration option or restart a daemon. If you are used to managing Linux machines from the command line, you will find it useful.

However, there are a number of situations still where the good old PuTTY wins the race. It allows you to have a list of servers without making shortcuts or writing batch files. It allows changing a number of connection options on-the-fly and configuring options like encoding or environment variables quickly using the GUI. From my point of view, the built-in OpenSSH software works well for baseline functionality when you are not allowed install PuTTY on the PC you are using (e.g. in a locked down corporate environment). It's also useful if you are a pro Linux user who has learned all the SSH client options by heart.

How To Install Open Ssh Server

RECOMMENDED: Click here to fix Windows errors and optimize system performance