11

Does the release version of Windows 10, as rumored, have built-in SSH server functionality? If so, how do I go about enabling it?

2
  • The SSH is rumored for PowerShell, I don't think it is tied to the Windows 10 release. I haven't seen any news about a PowerShell update yet.
    – MC10
    Aug 3, 2015 at 20:04
  • They added it in the Fall Creator Update and you can add both the client and/or the server by going to (Settings > Apps > Manage optional features > Add a feature) and install it. Note, that it still bears the (beta) tag but I have used it and works effectively no different than Putty. Dec 14, 2017 at 22:17

3 Answers 3

21

Short answer: Not yet, but it's coming.

Long answer: It's not actually part of Windows 10, but rather a new feature Microsoft is adding to PowerShell. Microsoft is working with and beginning to contribute to the OpenSSH project. This will effectively put an SSH server on Windows but you'll have to turn it on and have the latest version of PowerShell. I have not heard any release date for PowerShell with the OpenSSH functionality mentioned yet.

Additional reading arstechnica.com

Official Microsoft Announcement msdn.com

3
  • It's been almost a year. Is it still coming? If it has already arrived, some links how to enable it would be very helpful.
    – uvsmtid
    Jul 13, 2016 at 14:37
  • This answer is no longer correct. James Gibbons answer below is accurate as of the Windows 10 "Anniversary Update" that went out around August 1st. Aug 4, 2016 at 17:27
  • @ScottRFrost, this answer is correct; the SSH broker/proxy services are unrelated, and of limited use. They're intended for developer mode testing of UWP app deployment.
    – Eryk Sun
    Nov 4, 2016 at 3:43
4

Update: The newest technical preview versions of Windows 10 Anniversary update have two services "SSH Server Broker" and "SSH Server Proxy". These are both built-in to windows 10 Build 14366 and above. It is still unclear about the client however and I have been looking unsuccessfully for Microsoft documentation about these two services...

4
  • I can verify 2 weeks after your post there seems to be no documentation on SSH Server Broker or SSH Server Proxy available from Microsoft or anywhere else, I've gotten sshd up and running via Cygwin in the past but not sure how to do it via Bash on Ubuntu on Windows.
    – nomadrc
    Jul 16, 2016 at 3:34
  • 2
    I don't know about the documentation but on my system with the Windows 10 Anniversary update ssh is listening on port 22 and I can authenticate using my Windows user account and get a CMD shell environment.
    – mtinberg
    Aug 10, 2016 at 2:36
  • These broker and proxy services are unrelated to the planned SSH server for Windows. They're used with Windows 10 developer mode enabled in order to deploy UWP apps.
    – Eryk Sun
    Nov 4, 2016 at 3:41
  • The fall creators update seems to have added the OpenSSH server and client as optional features. Settings > Apps & features > Manage optional features > Add a feature. In the list are OpenSSH Server and Client entries. Both marked beta. I installed the client, but had to reboot before the ssh command was available from PowerShell. Nov 10, 2017 at 13:58
1

Can confirm and adding to the answer from James Gibbons (can't comment):

SSH Server Broker and SSH Server Proxy are 2 new services present on Windows 10 Anniversary (can be found at running services.msc from command prompt or pressing win+r). This service is not running under the (Ubuntu) Linux Subsystem for Windows.

If enabled port 22 is open and you can login with a local user. The user must be in the Ssh Users group. With a Microsoft account the username is the one displayed at lusrmgr.msc

Configuration for this can be found at the registry on:

  • HKLM/System/CurrentControlSet/Control/Ssh/Broker
  • HKLM/System/CurrentControlSet/Control/Ssh/Sftp

Both of which are read-only except for TrustedInstaller. The configuration seems to be similar to OpenSSH since Microsoft is building a custom implementation for Windows. I also found this from the Microsoft Powershell Github repository on OpenSSH on installing OpenSSH:

https://github.com/PowerShell/Win32-OpenSSH/wiki/Install-Win32-OpenSSH

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

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