This is the mail archive of the cygwin@sources.redhat.com 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]

Re: ssh and select: Bad file number


Terje Marthinussen wrote:
> 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

I have tried it in the following confgurations with the
Unix systems only running Linux:

~ $ uname -a
CYGWIN_NT-5.0 CVAIO 1.1.6(0.30/3/2) 2000-11-17 19:10 i686 unknown
~ $ ssh -V
SSH Version OpenSSH_2.3.0p2, protocol versions 1.5/2.0.
Compiled with SSL (0x0090581f).

~ $ uname -a
CYGWIN_NT-4.0 NTUS 1.1.6(0.30/3/2) 2000-11-21 21:00 i686 unknown
~ $ ssh -V
SSH Version OpenSSH_2.3.0p1, protocol versions 1.5/2.0.
Compiled with SSL (0x0090581f).

and I couldn't reproduce the problem. Do we have to blame the
ssh version on your Linux or FreeBSD box, perhaps?

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin@cygwin.com
Red Hat, Inc.
mailto:vinschen@redhat.com

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


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