=== ----- Original Message ----- From: "Jonathan Kamens" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, November 16, 2001 8:39 AM Subject: Fixing openssh to avoid occasional spurious connection failures
> As I just noted in > <URL:http://www.cygwin.com/ml/cygwin-developers/2001-11/msg00080.html>, > 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.... Rob
