OpenSSH for Windows

    openssh.jpg

    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

    If you are looking for OpenSSH binaries for Windows 2000, XP, or 2003, head over to the OpenSSH installers for Windows 2000/XP/2003 page for links to the latest binaries that will work with those particular operating systems.

    If you are looking for older OpenSSH binaries that have been hosted on this site in the past, head over to the older OpenSSH installer page.


    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~NOTE~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    As was pointed out, the Windows OpenSSH installer could be even more useful to people if it had additional language support. To contribute, download Descriptions.zip. Open the zip and edit Descriptions.nsi and email the updated language descriptions (Descriptions.nsi) to me at admin<AT>mls-software.com with a note as to how you would like to be credited and I'll get that included in the release. First to respond will get the credit, and I'll cross languages off the list as they come in. creopard.de kindly provided the German language translations. Based on the top 10 download history, the following countries primary languages would be the most useful: China, Japan, India, France, Russia, Italy, Spain, Brazil, Ukraine, Netherlands and Denmark. Thanks for your help.
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~NOTE~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~



    New Version

    OpenSSH 7.3p1-2
    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).
    Version Windows x86 Windows x64
    OpenSSH 7.3p1-1
    setupssh-7.3p1-2.exe    new.jpg
    SHA1=d2e8779040ad3e0c932f66bef03bc97a8f5bdda2
    (Optional) Cygwin Source Files cygwin_source.32.73p1-2.zip
    SHA1=1ee0c9cc3d5588cb544922e237b73cec738081a6
    cygwin_source.64.73p1-2.zip
    SHA1=ce9205bab22dab8f3d31e2711d2e3840bd4996ec
    (Optional) Installer Source Files
    installer_source_files.73p1-2.zip
    SHA1=9b2872d248df358a3783a0436c952b7e5088f0e7

    Older Versions

    OpenSSH 7.3p1-1
    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.
    Version Windows x86 Windows x64
    OpenSSH 7.3p1-1
    setupssh-7.3p1-1.exe
    SHA1=ff5f2ea18e9f2728a2944e4d0940a68706aaf096
    (Optional) Cygwin Source Files cygwin_source.32.73p1-1.zip
    SHA1=3634a90a51bc850b75b80b44ec9f7e8adfdb73fd
    cygwin_source.64.73p1-1.zip
    SHA1=749adcd99673e20eaad52978084c886cd87eea4f
    (Optional) Installer Source Files
    installer_source_files.73p1-1.zip
    SHA1=e416082bdc85633f2f9842992e7b4fd7df9cc5fa

    OpenSSH 7.2p2-1-v1
    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.
    Version Windows x86 Windows x64
    OpenSSH 7.2p2-1-v1
    setupssh-7.2p2-1-v1.exe
    SHA1=4eff121021e5551dc762db3fb6d82ad9a989c2b5
    (Optional) Cygwin Source Files cygwin_source.32.72p2-1-v1.zip
    SHA1=50e22b1e6c365345e22c4b75f94a286d0557493f
    cygwin_source.64.72p2-1-v1.zip
    SHA1=1cfff3a5f65166652c02a8f5247fe9936efe9f85
    (Optional) Installer Source Files
    installer_source_files.72p2-1-v1.zip
    SHA1=9a4c14b4d0c2e89dbd1d7cc1030093525cb8b5e9

    OpenSSH 7.2p2-1
    This is an updated OpenSSH 7.2p2-1 installer for both x86 and x64 binaries.
    Version Windows x86 Windows x64
    OpenSSH 7.2p2-1
    setupssh-7.2p2-1.exe
    SHA1=5cf36aa793c0116d9bba765ae6152531e14772f4
    (Optional) Cygwin Source Files cygwin_source.32.72p2-1.zip
    SHA1=982f7a1067da70928fb2cccc6fd5ada57a192734
    cygwin_source.64.72p2-1.zip
    SHA1=5070caf339ae81ab6379deee2696e84fe343d72e
    (Optional) Installer Source Files
    installer_source_files.72p2-1.zip
    SHA1=cbd868e9517ca4ef334f319e86c2099e04fc6e5b

    OpenSSH 7.2p1-1
    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.
    Version Windows x86 Windows x64
    OpenSSH 7.2p1-1
    setupssh-7.2p1-1.exe
    SHA1=a2b26af4613e66ca3d779c9bf1eb7f787ada6c69
    (Optional) Cygwin Source Files cygwin_source.32.72p1-1.zip
    SHA1=909e221c6d8c25937882650720b3f9489bef1322
    cygwin_source.64.72p1-1.zip
    SHA1=dc8dbb0c5cb068e733625625fbaecbbbd6312cac
    (Optional) Installer Source Files
    installer_source_files.72p1-1.zip
    SHA1=54f38a2fc84b5fb7c17316c0b54a057570248fe1

    OpenSSH 7.1p2-1
    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.
    Version Windows x86 Windows x64
    OpenSSH 7.1p2-1
    setupssh-7.1p2-1.exe
    SHA1=2f304d562e8b9c7c81c0fac80fa939c730165b53
    (Optional) Cygwin Source Files cygwin_source.32.71p2-1.zip
    SHA1=4de4bb82937b46bf8964b4c9a47b346dbac5eb54
    cygwin_source.64.71p2-1.zip
    SHA1=9a0f7b94e1686458e310dc72df8436e49d24c6a7
    (Optional) Installer Source Files
    installer_source_files.71p2-1.zip
    SHA1=6493ce40ac5c89df836fff128132e54a9cd0438e

    OpenSSH 7.1p1-1
    This is an updated OpenSSH 7.1p1-1 installer for both x86 and x64 binaries.
    Version Windows x86 Windows x64
    OpenSSH 7.1p1-1
    setupssh-7.1p1-1.exe
    SHA1=131e027050fb8b985f564e6b5c3b0d054d703dbb
    (Optional) Cygwin Source Files cygwin_source.32.71p1-1.zip
    SHA1=e5ba369adeb9edadae40a749373eb16ae9f1341a
    cygwin_source.64.71p1-1.zip
    SHA1=d94b3d9a56a7741aa130af6a7157b64ade0d9c40
    (Optional) Installer Source Files
    installer_source_files.71p1-1.zip
    SHA1=26d70ce5da4961b5a13af2aa3d5b9b384ad214be

    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 intallations:

    The first point where you get to make some choices is the choose component dialog.

    setup.jpg

    Select
        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 shortcuts

    The next screen that requires some explanation is the "Choose account under which to execute SSHD".  The SSH Daemon (SSHD) can run as either Local_System or SSHD_Server.  If you are using Windows Server (2003/2008/2008R2/etc.) you will likely have to run this as SSHD_Server, however all others should be able to run this as Local_System.  The default password that is filled in for you is "D0ntGu3$$M3" - I would recommend changing it!  You can change this later by using the Services Control Panel.

    localsystem.jpg

    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 Windows 2003.

    privsep.jpg


    If 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)

    port.jpg


    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.

    keysize.jpg

    You can configure ssh for either local users or domain users.  This determines how the password file is setup and you should probably choose Local users.

    passwordgroup.jpg


    OpenSSH will begin to install and configure itself for your system.

    At this point, openssh is setup and configured for your system.  To 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.

    sshv.jpg

    If you installed the openssh server, it will start automatically after the installation completes.  


    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
    sshd-netstart.jpg
    To stop the service (if/when you want to):
            net stop opensshd
    You can also stop/start the openssh service from the Services control panel applet.

    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.