I installed sshd on my cygwin, and I tested it on the local machine which works fine.
- sh-host-config -y
- cygrunsrv -S sshd
But when I try to login from my Mac, I can't login to the cygwin. The debugging message is as follows.
OpenSSH_5.2p1, OpenSSL 0.9.8l 5 Nov 2009 debug1: Reading configuration data /etc/ssh_config debug1: Connecting to smchopc [192.168.1.106] port 22. <-- It takes a while debug1: connect to address 192.168.1.106 port 22: Operation timed out ssh: connect to host smchopc port 22: Operation timed out
What might be wrong?
PS: Actually I have another question list of SSH to Cygwin is slow to respond , and in this case, the connection is very slow both for local connection and external connection. With the question for this thread, the local connection is very fast and working whereas external connection is not possible.
Both are the same Windows 7, and I installed the same cygwin. I don't understand what makes this difference.