This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

sshd starts but won't accept connections?


I recently installed sshd (using ssh-host-config and cygrunsrv) on an
up-to-date cygwin on which the ssh client works. sshd starts, but when I
try to access the cygwin sshd from other boxes on the LAN, their
known-good ssh clients hang. How to fix? Details:

The cygwin box runs winxp sp3 and is regularly Windows Update-d. Its
cygwin is up-to-date per setup-2.686 and ftp://mirrors.kernel.org. The
cygwin box has been successfully running the ssh client with ssh-agent
and keychain for some time. It is on a LAN (router running DD-WRT)
with several linux boxes running ubuntu karmic (also up-to-date) which
run both the ssh client and server. Each of the boxes has static DHCP
leases (aka reserved IP#s). I have the same ID on all boxes.

Two of the linux boxes are 192.168.1.102 and 192.168.1.104. The cygwin
box (192.168.1.106) has long been able to ssh/scp to either linux box.
I'd like to get sshd working on the cygwin box, both for convenience
and as a dry-run for installing sshd on a cygwin box at my office. So
I installed sshd on the cygwin box using instructions=openssh.README.
Packages={cygrunsrv, openssh} were previously installed, so I ran
ssh-host-config, choosing to run sshd as a service using cygrunsrv.
I rebooted the cygwin box, and it successfully started sshd.exe (per
Task Manager).

When I do (on the cygwin box)

ping 192.168.1.102
ssh -l me 192.168.1.102

the cygwin box connects to the linux box promptly (using ssh-agent).
When I do (from either linux box)

ping 192.168.1.106

I get response from the cygwin box. But when I do

ssh -l me 192.168.1.106

the shell hangs until ^C. No routing or other errors, but no connection,
either. However if I do (from 192.168.1.102)

ssh -l me 192.168.1.104

I get a prompt connection. 

So how to to make sshd on the cygwin box accept connections?

TIA, Tom Roche <Tom_Roche@pobox.com>

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]