How to install SSH on Windows
ssh is a remote login app similar to telnet, rsh, and rlogin. Windows, by default, hasn’t had SSH by default. To make SSH enabled on Windows, you should installing it first.
These are steps to install SSH on Windows:
- Download cygwin installer.
- After you downloaded the installer, execute it and choose “download without installing” option.
- After the packages needed for the download already complete, reinstall again but now choose “install from local directory” and choose the folder that contains downloaded files above.
Now, upon the installation of cygwin. You’ll face “select package” page. Choose packages below:
- openssh
- tcp_wrappers
- zlip
After the packages installed, follow additional steps below:
- Right click on My computer > properties > advanced > Environment Variables
- Choose “New” to add new System variables. “variable name is CYGWIN” and “variable value is ntsec tty”
- Right click on My Computer > Properties > Advanced >Environment Variables and write “c:\cygwin\bin”
TO enable ssh, open cygwin and execute this command:
ssh-host-config
Activate by using commands below:
net start sshd
or
cygrunsrv --start sshd.
Next, follow steps from http://pigtail.net/LRP/printsrv/cygwin-sshd.html.
Tags: cygwin, install SSH on windows, ssh, windows