What is the recommended procedure to install sshd on Windows 7 Enterprise ? I have already installed cygwin and openssh on this computer.

i'm open to non-cygwin sshd as long as there won't be any compatibility issues with cygwin related programs.


I want setup/config information as well. Currently, I get an error if I try to connect to localhost.

$ ssh localhost
ssh: connect to host localhost port 22: Connection refused


ssh-host-config. See also /usr/share/doc/Cygwin/openssh.README.


You've already got it installed. It's part of the openssh package in cygwin. Type "man sshd" in your Cygwin shell and you should see it.

  • Are you actually running sshd yet? Since you have it installed, you need to run it. Like any other software. If you want to run it as a service, look into cygrunsrv. – mfinni Mar 9 '11 at 16:54
  • i am not running it yet. i was looking for a detailed guide into doing so -- the whole question was looking for detailed steps to run sshd. – anjanb Mar 10 '11 at 5:19
  • So do what I suggested : type "man sshd" and read it. – mfinni Mar 10 '11 at 12:17

Check out this step by step guide: http://pigtail.net/LRP/printsrv/cygwin-sshd.html


Personally, I just install Bitvise WinSSHD as my SSHD service on Windows systems.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.