The OpenSSH website is located at www.openssh.com
This website hosts a Windows installer package of Openssh for Windows that is actively maintained and current.
The sshwindows package hasn't been maintained for a long time
and is woefully out of date. I've been rolling my own
versions of this installer for quite a while and figured others might
find this useful as well.
I'll walk you through installation
and setup of the OpenSSH package for
Windows. First download the latest version (or the version of your choice), and head to the bottom of the page for a quick walk-thru
This is an updated OpenSSH 7.3p1-2 installer for both x86 and x64 binaries. This includes a small fix to the uninstall $INSTDIR variable so a user selected installation directory is used (Thanks Jacob T for pointing out the error).
This is an updated OpenSSH 7.3p1-1 installer for both x86 and x64 binaries. This includes a small fix to the silent install $INSTDIR variable so a user selected installation directory is not overwritten.
This is an updated OpenSSH 7.2p2-1-v1 installer (no changes to the version of OpenSSH) for both x86 and x64 binaries. I included an incorrect cygwin1.dll for x64 builds causing both ls.exe and mv.exe to fail.
This is an updated OpenSSH 7.2p2-1 installer for both x86 and x64 binaries.
This is an updated OpenSSH 7.2p1-1 installer for both x86 and x64 binaries. I made a couple small tweaks - spaces are allowed in the service password and using large passwords should not cause a prompt.
This is an updated OpenSSH 7.1p1-1 installer for both x86 and x64 binaries. I also took this opportunity to clean up the files to only the minimal dependencies. Let me know if you run into any missing file warnings.
This is an updated OpenSSH 7.1p1-1 installer for both x86 and x64 binaries.
Once you've downloaded the executable, start it up to be greeted with
the OpenSSH splash screen followed by the welcome and license screen.
You can select the defaults all the way through the
installation process if desired - these should work for most
The first point where you get to make some choices is the choose
Client - to install the ssh
client command line tools (if you want to connect to other ssh servers
Server - to install the ssh server command line application (if you
want to provide an ssh server for others to connect to)
Start Menu Shortcuts - a few start menu
next screen that requires some explanation is the "Choose account under
which to execute SSHD". The SSH Daemon (SSHD) can run as
Local_System or SSHD_Server. If you are using Windows Server (2003/2008/2008R2/etc.)
will likely have to run this as SSHD_Server, however all others should
be able to run this as Local_System. The default password
filled in for you is "D0ntGu3$$M3" - I would recommend changing it!
You can change this
using the Services Control Panel.
If you choose "Run as SSHD_Server", then you will be presented with the
privilege seperation option.
In general, it
should be OK to not use priviledge seperation unless you are running
you are running the sshd server, select the port. The default
port for ssh is 22, however you may select whatever you want (but then
you'll have to pass that in as on -p option when you connect)
You may now select the keysize. The default keysize of 2048 is probably sufficient, however if
you are truly concerned about your network privacy 4096 would be a good next choice.
configure ssh for either local users or domain users. This
determines how the password file is setup and you should probably
OpenSSH will begin to install and configure itself for your system.
At this point, openssh is setup and configured for your system.
try this out, open up a command prompt (cmd.exe) and try:
ssh -v (For OpenSSH 6.3 and below)
ssh -V (For OpenSSH 6.4 and above)
which will show you the version information.
installed the openssh server, it will start automatically after the
You may also open up a command prompt with administrator
priviledges and try:
net start opensshd
which should cause the opensshd daemon service to start
To stop the service (if/when you want to):
net stop opensshd
You can also stop/start the openssh service from the Services control
If you experience problems with the service, look in /var/log as it
might have a clue why the service is failing to start.
The original source code for sshwindows
came from SourceForge.net.