Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

share|improve this question

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

share|improve this answer

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.

share|improve this answer
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:

share|improve this answer

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

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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