Intermittent SSH failures from Cygwin
From: jon (jonsnews_at_hotmail.com)
Date: 09/02/03
- Next message: Luke StClair: "X11 Forwarding"
- Previous message: Nico Kadel-Garcia: "Re: sftp question"
- Next in thread: jon: "Re: Intermittent SSH failures from Cygwin"
- Reply: jon: "Re: Intermittent SSH failures from Cygwin"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: 2 Sep 2003 03:30:38 -0700
Hi all,
I've hit a problem that only seems to occur when doing SSH from Cygwin
TO a UNIX box (Solaris in this case).
I have a script that makes several connections from Cygwin to Solaris
(e.g. check remote box is running SSH, list files, get files, etc,
etc). During this process, I occasionally get "ssh: connect to host
solarisbox port 22: Connection timed out" on the Cygwin box.
I guessed this was the Solaris box refusing too many incoming
simultaneous connections. So, I changed the 'MaxStartups' setting in
/etc/ssh/sshd_config from 10 (the default) to 100. This seemed to
help a bit, but I still got the same message (although less often).
My next guess is that Cygwin has reached it's limit of sockets to
handle connections to the Solaris box. I know Cygwin uses it's own
Unix API for network stuff , rather than the Winsock API. However,
I'd rather not recompile SSH. If this IS the problem, has anyone out
there hit a similar problem & have you managed to tweak Cygwin to
allow more connections? ...or is there some other entirely different
solution I should investigate...?
FYI:
cygwinbox $ openssl version
OpenSSL 0.9.7b 10 Apr 2003
cygwinbox $ ssh -V
OpenSSH_3.6.1p1, SSH protocols 1.5/2.0, OpenSSL 0x0090702f
solarisbox:/ #openssl version
OpenSSL 0.9.7b 10 Apr 2003
solarisbox:/ #ssh -V
OpenSSH_3.6.1p1, SSH protocols 1.5/2.0, OpenSSL 0x0090702f
- Next message: Luke StClair: "X11 Forwarding"
- Previous message: Nico Kadel-Garcia: "Re: sftp question"
- Next in thread: jon: "Re: Intermittent SSH failures from Cygwin"
- Reply: jon: "Re: Intermittent SSH failures from Cygwin"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|