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:

  1. Download cygwin installer.
  2. After you downloaded the installer, execute it and choose “download without installing” option.
  3. 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:

  1. Right click on My computer > properties > advanced > Environment Variables
  2. Choose “New” to add new System variables. “variable name is CYGWIN” and “variable value is ntsec tty”
  3. 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: , , ,

Google
 

Leave a Reply

232 views