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!

Deja un comentario

Este sitio usa Akismet para reducir el spam. Aprende cómo se procesan los datos de tus comentarios.