Fixing openssh to avoid occasional spurious connection failures
Wed Nov 7 07:12:00 GMT 2001
----- Original Message -----
From: "Jonathan Kamens" <firstname.lastname@example.org>
Sent: Friday, November 16, 2001 8:39 AM
Subject: Fixing openssh to avoid occasional spurious connection failures
> As I just noted in
> ssh connections from Cygwin can occasionally fail because a winsock
> bug causes the connection to be assigned a local port number which is
> already in use.
> The simplest workaround for this problem would be to put a default
> "ConnectionAttempts 4" setting in the ssh_config that gets generated
> by ssh-host-config.
> The next simplest workaround would be to get the OpenSSH maintainers
> to apply this patch:
And what about patching cygwin! to automatically retry on EADDRINUSE -
if we can detect that the winsock bug is the culprit? That would fix
ssh, squid, telnet, ftp....
More information about the Cygwin-apps