cygwin ssh connection to server port 22 connection refused on localhost
- by Steven Wexler
I set up a ssh server through ssh-host-config. Then I started the server.
net start sshd
The CYGWIN sshd service is starting.
The CYGWIN sshd service was started successfully.
When I try to connect I get:
ssh myusername@localhost
ssh: connect to host localhost port 22: Connection refused
I tried to allow port 22 in Windows Firewall, but that didn't change anything. And because I'm trying to ssh locally I don't think Windows Firewall is the culprit.
I'm using Windows 7 and
What should I look for to fix this problem?