Saturday, September 24, 2011

How To Start sshd Service in CYGWIN

Hello All,

Today, I want to explain that how you can start the sshd service in cygwin. First, You should download the installation file from www.cygwin.com for windows. During the installation, you must expand the Admin folder and select cygrunsrv. Also, you must expand Net and select openssh. After installation, open cygwin shell, and run the following commands:
  1. ssh-host-config -y     --------> This command will create necessary configuration files.
  2. cygrunsrv -S sshd     --------> This command will run the sshd service. This is equal to "service sshd start" command.
Now your sshd service is ready. Try by doing ssh to somewhere or someone ssh to you.
Don't forget to configure your firewall in Windows.

Regards,
Khosro Taraghi

No comments:

Post a Comment