Native SSH Windows 10 features

Starting with Windows 10 Falls Creators Update (aka. 1709) Windows has native SSH capabilities. There is no longer need to use a client like PuTTY or Linux OpenSSH running on Cygwin.

There is also an OpenSSH server implementation so you can connect to a remote Windows instance (instead of using WinRM for example).

It comes in the shape of a Beta optional feature which is quite easy to enable. Open an Administrator Powershell session and discover the new features:

Get-WindowsCapability -Online | select-object -ExpandProperty Name | select-string OpenSSH*

This should give you the list of available OpenSSH features: a client and a server.
To enable the feature simply run:

Add-WindowsCapability -Online -Name 'OpenSSH.Client~~~~'

From any cmd or powershell window then you can establish a new SSH connection simply doing ssh just like you would do in Linux.

If you want to find out where this got installed you can run where.exe ssh. The default location seems to be $env:windir\System32\OpenSSH\. Notice that in that folder you get more than just ssh:

-a----       28/09/2017     16:49         322048 scp.exe
-a----       28/09/2017     16:49         390656 sftp.exe
-a----       28/09/2017     16:49         521728 ssh-add.exe
-a----       28/09/2017     16:49         612352 ssh-agent.exe
-a----       28/09/2017     16:49         599552 ssh-keygen.exe
-a----       28/09/2017     16:49         851456 ssh.exe
-a----       28/09/2017     16:49           3520 sshd_config

If you want to find out more about this feature I found this blog post very useful.