Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Message-ID: <004101c135a4$14103640$0200000a@dyn.ik.ca> From: "Gerald Villemure" To: References: <003d01c1336e$26b8d0f0$0200000a AT dyn DOT ik DOT ca> <001b01c1352c$f9f1efa0$0100a8c0 AT duron> Subject: Re: On Win98, connections hang when using remote command execution with SSHD. Date: Wed, 5 Sep 2001 02:44:35 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4807.1700 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700 > -> try "ssh -t localhost id". Will probably work, provided you have setup > your access correctly. > -> try "while true; do ssh -t localhost id; done". Will work about seven > times, and then send sshd to hell. You are correct using -t did the trick! My test have revealed that I can connect 10 times before SSHD crashes (its consistently 10 connections) The tests are done by starting a session and manually running SSHD. Note that I have done these tests with a mix and match of: Cygwin 1.3.2 and 1.1.8 OpenSSH 2.9p2 and 2.5.2p2 They all behave the same way. Is for an elegant way to start SSHD in Win98 I use this command: (not used for the test in order to minimize the variables) c:\cygwin\bin\run-nw.exe /bin/bash --login -c /usr/sbin/sshd.exe The program "run-rw.exe" is something I found in the list archive if cygwin. Still no clean resolution to the problem, Gérald -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/