X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-2.6 required=5.0 tests=BAYES_00 X-Spam-Check-By: sourceware.org From: Tom Roche To: cygwin AT cygwin DOT com Subject: sshd starts but won't accept connections? Reply-to: cygwin AT cygwin DOT com, Tom Roche Date: Fri, 05 Mar 2010 11:10:20 -0500 Message-ID: <87tysun40j.fsf@pobox.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Pobox-Relay-ID: 99A36DBC-2871-11DF-9AD6-808D016DD5F0-07218935!b-pb-sasl-quonix.pobox.com Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com 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 -- 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