Native OpenSSH is coming to Windows 10

Greg S

Posts: 1,607   +442

Microsoft is slowly working on making the lives of IT professionals easier by implementing features typically found in Linux distributions. One of the next features on the to-do list for Redmond is adding an OpenSSH client and server to Windows.

A large number of Windows users that need SSH shells use PuTTY for its simplicity and the fact that it is known to be reliable. A native client and SSH server could put an end to a need for PuTTY but, given that many people are slow to adopt change, it will live on for quite some time.

Windows 10 does have the option to install a Linux subsystem to gain access to popular Linux applications, but not without severe limitations and poor documentation. A native implementation of OpenSSH will bring Windows one step closer to bringing the conveniences of Linux to administrators and developers while still supporting a wide range of production software for end users.

To be able to access the beta version of OpenSSH for Windows, open Settings and locate "Manage Optional Features". Select the "Add a feature" option and scroll down until you find OpenSSH Client (Beta) as well as the server. It may take some time for all the optional features to load, but the feature is confirmed to be available to all users running the latest Creators Update (Version 1709).

Once installed, the client is accessible from Command Prompt and PowerShell. Elevated privileges are required to be able to run the ssh command.

Additional features that add productivity benefits for administrators and developers will help Microsoft compete against open-source alternatives. Future updates will likely improve the current OpenSSH client and server to the point that the beta qualifier is eventually dropped.

Permalink to story.

 
Background:
PuTTY combines multiple features (customizable terminal emulation, remote connection, serial port access, etc.) that are usually separated on Linux/Unix because Windows by default only includes a limited "terminal emulator", the command prompt window. Another reason was, as you suspected, that Windows doesn't have ssh by default.

  • SSH is a protocol for encrypted connections between computers. It is quite flexible as it allows multiple streams in one connection (e.g. terminal sessions, file transfers and TCP port forwardings).
  • SCP is a simple protocol for file transfers via SSH connections.
  • SFTP is a protocol to transfer files, list directories, etc. via SSH connections.
  • PuTTY is a GUI terminal emulator for Windows with a built-in SSH client for remote terminal sessions.
  • ssh is a command line SSH client. There is a port for Windows named OpenSSH for Windows.
  • scp is a specialized program to copy files via SCP. pscp is a port from the PuTTY suite with the same purpose.
  • sftp is an interactive command line program to manage files via SFTP. It allows copying, deleting and listing of files similarly to the command line tool ftp. psftp is again a port from the PuTTY suite with the same purpose.
 
Back