How to install OpenSSH on Windows

  • 23 January 2017
  • ADM

 

How to install OpenSSH on Windows - images/logos/windows.jpg

 

To install the OpenSSH on Windows operating system follow the next steps:

Download

From the project website, download the latest binary file.

Install

Open the downloaded file. Select the language and click Ok to continue.

How to install OpenSSH on Windows - /images/openssh001.png

On the Welcome screen click Next> to continue.

How to install OpenSSH on Windows - /images/openssh002.png

On the Licence Agreement screen select "I accept the terms of the Licence Agreement" and click Next> to continue.

How to install OpenSSH on Windows - /images/openssh003.png

On the Choose Components screen click, Next> to continue (there are already all selected).

How to install OpenSSH on Windows - /images/openssh004.png

On the Choose Install Location screen click, Next> to continue. (Changed the Destination Folder if needed)

How to install OpenSSH on Windows - /images/openssh005.png

On the Choose Start Menu Folder screen click, Next> to continue.

How to install OpenSSH on Windows - /images/openssh006.png

On the Choose account under which to execute SSHD screen click, Next> to continue.

How to install OpenSSH on Windows - /images/openssh007.png

On the Choose port for SSHD daemon screen click, Next> to continue.

How to install OpenSSH on Windows - /images/openssh008.png

On the Choose key size for key generation screen click, Next> to continue.

How to install OpenSSH on Windows - /images/openssh009.png

On the Choose user type for SSHD screen click, Next> to continue.

How to install OpenSSH on Windows - /images/openssh010.png

On the Finish screen click, Next> to continue.

How to install OpenSSH on Windows - /images/openssh011.png

Note: the print screens are from Windows 10, but can be install on any Windows version.

Verify

Open the Command Prompt window and run the ssh command. If the output is similar to the following, you have successfully installed openSSH on your Windows machine.

C:\Users\adm>ssh
usage: ssh [-1246AaCfGgKkMNnqsTtVvXxYy] [-b bind_address] [-c cipher_spec]
           [-D [bind_address:]port] [-E log_file] [-e escape_char]
           [-F configfile] [-I pkcs11] [-i identity_file]
           [-J [user@]host[:port]] [-L address] [-l login_name] [-m mac_spec]
           [-O ctl_cmd] [-o option] [-p port] [-Q query_option] [-R address]
           [-S ctl_path] [-W host:port] [-w local_tun[:remote_tun]]
           [user@]hostname [command]

C:\Users\adm>

 

References