I recently started using ConEmu since I wanted to be able to have tabbed PowerShell consoles. In an effort to become more proficient with it I’ve forced myself to try not to do anything outside of a PowerShell window.

At my current employer I’m a Jack of All Trade SysAdmin. For me this means I work with both Windows and *nix machines. For the past few years I’ve been using SecureCRT or PuTTY to SSH into *nix machines. The other day I had an idea to make it easier for me to SSH from my Windows PC to these servers. I installed OpenSSH on my Windows 8.1 machine which enables me to SSH/SCP from my Windows machine to a Linux/Solaris/etc box from either the command prompt or PowerShell. I then added it to my path to enable me to just type “ssh” or “scp” instead of having to navigate to the OpenSSH directory every time. I’ve been using PowerShell and OpenSSH for almost a month now, and I’ve only ran into one issue of not being able to use vi on one Solaris 10 machine.

Here’s a quick tutorial:

Navigate to System > Advanced system settings

Advanced System Settings

Click on the Advanced tab then Environment Variables

Environment Variables

Edit your PATH variable under User variables and add the location of the bin directory for OpenSSH on your system (ex: C:Program Files (x86)OpenSSHbin)

PATH Variable

That’s all you need to do. Now you can SSH or SCP directory from either cmd or PowerShell: