It has come to my attention that you can now install
SSH on Windows 10 version 1709 “Fall Creators Update” (OS Build 10.0.16299). To find what version of Windows 10 you are currently running, hit Windows Key + R and type
Installing OpenSSH on Windows 10 is done inside the Optional Feature section. You simply have to type in Manage Optional Features into the Windows 10 Search. Open the result. That is a lot of manual work, but it can be done with PowerShell or CMD line, located at the bottom of this post.
Once the window is open click on Add a Feature. Here you will see OpenSSH Client (Beta) and OpenSSh Server (Beta). Select the OpenSSH Client (Beta). It will install in a matter of seconds.
You will need to do a reboot, but soon as you are back into your system you can simply open up PowerShell or the Command Prompt and type ssh. This is because openSSH client binaries have been appended to the System Environment Variables PATH.
OpenSSH is still in beta and therefore has limitations, but this is still a great feature to have on Windows 10. Working with a lot of Linux distributions in the Public Cloud offerings use to be a hassle. No more PuTTY, PSEXEC or WinRM!
You can simply do it with PowerShell as well:
get-windowsoptionalfeature -online //This list all optional features get-WindowsOptionalFeature -Online -FeatureName "*OpenSSH*" //This only find the feature with OpenSSH Enable-WindowsOptionalFeature -Online -FeatureName "*OpenSSH*Client*" -All //This install OpenSSH Client //Disable the Optional Feature by Disable-WindowsOptionalFeature -Online -FeatureName "*OpenSSH*"
Or with command-line
<span data-mce-type="bookmark" style="display: inline-block; width: 0px; overflow: hidden; line-height: 0;" class="mce_SELRES_start"></span> dism /online /get-capabilities | findstr /i "OpenSSH.Client"