How to install Win32-OpenSSH for Windows from Microsoft

This summer it was announced the intention of supporting SSH on Windows by the PowerShell team, in order to interoperate between Windows and Linux machines without any third-party tool. It was also during the Connect(); where you could see how Scott Hanselman did use ssh from his machine. If you want to know how to install this prerelease of OpenSSH for Windows follow these simple steps to begin to enjoy it.

The first thing is to download the latest prerelease of Win32-OpenSSH from the GitHub project.

Download OpenSSH-Win32
Download OpenSSH-Win32

Unblock the zip, selecting the file > Properties > Unblock > Apply.

Unblock Win32-OpenSSH zip
Unblock Win32-OpenSSH zip

Move the extracted folder into the root directory or where you save your work tools. In my case i’ll leave it in c:\OpenSSH-Win32. Add the folder path you just chose to the PATH variable in Windows through My computer > Properties > Advanced system settings (on the left side menu) > environment variableschoose if you want the path of the user or system and add it, in my example would be c:\OpenSSH-Win32, to the Path variable.

Edit System Variable PATH OpenSSH
Edit System Variable PATH OpenSSH

Open a new console, type the command ssh and see that is now available to connect to any machine from your own Windows console. Here are some examples of how to start using it.

cmd - ssh command
cmd – ssh command

As it’s still in progress, it is possible that some features do not work correctly. Even so, if you find any, I encourage you to report them on the issues section of the project on GitHub.

Happy sshing!