Troubleshooting AutoSSH
Andrew Schulman
schulman.andrew@epamail.epa.gov
Fri Jul 12 18:48:00 GMT 2013
> debug1: Local connections to LOCALHOST:5661 forwarded to remote address
> 127.0.0.1:6661
> debug1: Local forwarding listening on ::1 port 5661.
> ^^^^^^^^^
>> <connection attempt fails with "Connection closed by ::1">!!!!
>> It looks like the problem is that AutoSSH is binding to IPV6, *NOT*
> IPv4! sshd is set to "AddressFamily inet", .. so the problem appears to be
> that AutoSSH is not binding properly.
>> Don't see anything in the man pages or a quick search, .. how would one
> force AutoSSH to bind to IPv4? IPV6 is installed on this box, but not
> used.
Hi Lee. Okay, that does seem to narrow it down.
You're right that autossh doesn't have any ipv4 options. It hasn't been
updated in a few years, and I think it's just not ipv6-aware yet.
Does it help if you include the -4 switch to ssh, to force it to use ipv4
only? It's worth a try.
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
More information about the Cygwin
mailing list