Does windows 10 have SSH already?

8

1

I was trying to find out if I can use SSH in windows 10, there are many aricles from early this year saying windows 10 was going to include SSH in powershell, but I still can't use it in my windows 10. So does windows 10 support SSH already? or I still have to use third party apps like putty?

shenkwen

Posted 2016-01-02T14:19:22.863

Reputation: 441

(September 2017) Yes, in the creators update, in Development mode only. See here: https://superuser.com/questions/1120133/ssh-server-on-windows-10-out-of-nowhere

– SDsolar – 2017-09-28T07:51:32.680

Answers

4

Windows does not currently have native SSH support (expected early 2016)

Some further reading here

Jonno

Posted 2016-01-02T14:19:22.863

Reputation: 18 756

Worth pointing out given Microsoft has been tight lipped about native SSH so far, its entirely possible the plans were scrapped. – Ramhound – 2016-01-02T17:47:45.370

ssh is included in the "Linux services for Windows", which is only available if you are running Win10 preview builds. Hopefully it will launch in the normal, stable builds soon. – sep332 – 2016-08-18T21:37:36.383

2well, it looks like win10 now runs ssh service by default. I didn't do anything and I see it's listening on port 22 and I can connect to it using putty. Looks like they silently enabled it. – Pavel P – 2016-09-23T15:27:16.270

I have the same experience as Pavel. I installed the Linux Subsystem for Windows some time ago, and I've been using it, but I didn't know it included an SSH server. I only discovered it was running when I ran "netstat -a" and saw that port 22 was open. I then tried to SSH to my Windows machine from a Linux PC, and voilà! it worked. – Charles Burge – 2017-01-05T19:24:13.490

This is the last update I've seen: https://blogs.msdn.microsoft.com/powershell/2015/10/19/openssh-for-windows-update/. There are lots of activities on the project's GitHub repo but no word on roadmap: https://github.com/PowerShell/Win32-OpenSSH/commits/L1-Prod

– JohnnyO – 2017-01-10T11:46:21.700

4

Here's a more complete answer as of last week:

The PowerShell team is continuing to work on a Windows OpenSSH implementation. Their active work can be seen in this repository which is a fork from the root openssh-portable repository. You can see from the commit history that the PowerShell team regularly merges upstream commits into their repository as well as adding their own commits.

As best I can tell PowerShell/openssh-portable has only modified the upstream code by adding the following folders (and their contained source files) ~/contrib/win32, ~/regress/pesterTests and ~/regress/unittests/win32compat.

On December 19, 2016 the PowerShell team created a pull request into the openssh/openssh-portable repository which is still under review. The most recent activity on the pull request appears to be comments/commits on Jun 13, 2017.

The PowerShell team has a second repository, PowerShell/Win32-OpenSSH, where they make builds of PowerShell/openssh-portable available. The Win32-OpenSSH repo has a few commits of its own but is mostly a source copy from PowerShell/openssh-portable.

You can see the list of Win32-OpenSSH releases here. The releases contain executable binaries of the common openssh commands. If you extract the binaries and then add their directory to your PATH variable you should be able to use them.

Mark Rucker

Posted 2016-01-02T14:19:22.863

Reputation: 141

its SO nice to just shell out in Windows and use ssh, this is working great!! thanks! – user46550 – 2017-07-31T14:25:36.083

2

What you can do as an alternative is use putty for client side access. If you want something server side, that is a bit harder. But you could use cygwin. There are some articles to get its ssh daemon running as a windows service.

Raymond Burkholder

Posted 2016-01-02T14:19:22.863

Reputation: 637