delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/09/04/20:42:23

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
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" <GVillemure AT ik DOT ca>
To: <cygwin AT cygwin DOT com>
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
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019