Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sources.redhat.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@sources.redhat.com>
List-Help: <mailto:cygwin-help@sources.redhat.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@sources.redhat.com
Delivered-To: mailing list cygwin@sources.redhat.com
Message-ID: <00c901c0584e$1aafdc00$0ffe603f@terjemnb>
From: "Terje Marthinussen" <terje.marthinussen@fast.no>
To: <cygwin@cygwin.com>
Subject: ssh and select: Bad file number
Date: Mon, 27 Nov 2000 03:43:22 -0500
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 5.50.4133.2400
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400

If I log into a different unix machine (only tried with linux
and freebsd) from cygwin with openssh and try a 
command line script like

for i in list of hosts
do
ssh $i some command
done

it will often terminate the ssh session I had between my 
cygwin and the unix system I ran the command on.

The error it shows is
select: Bad file number

Have tried with several cygwin versions as well as
several ssh versions. Including non openssh ones.

Tried compiling ssh myself as well as downloading
precompiled ones.

Always same result.

Doing the same from a vmware on the same PC, 
even with the same source as basis gives me
no problems at all.

Any ideas?

cygwin is running on a windows 2000 SP1 system.

Terje


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

