Re: Troubleshooting AutoSSH

2013-07-12 Thread L. V. Lammert
On Fri, 12 Jul 2013, Andrew Schulman wrote: > > It looks like *sshd* can only bind IPV6 - forcing it to bind IPV4 only > > prevents startup. > > OK. So does it work then to pass the -6 flag to ssh? > I did not try forcing -6 because that was the only way it would connect (i.e. sshd would only sta

Re: Troubleshooting AutoSSH

2013-07-12 Thread Andrew Schulman
> On Fri, 12 Jul 2013, Andrew Schulman wrote: > > > 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. > > > Looks like it may not be autossh - if I

Re: Troubleshooting AutoSSH

2013-07-12 Thread L. V. Lammert
On Fri, 12 Jul 2013, Andrew Schulman wrote: > 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. > Looks like it may not be autossh - if I start sshd with

Re: Troubleshooting AutoSSH

2013-07-12 Thread Andrew Schulman
> debug1: Local connections to LOCALHOST:5661 forwarded to remote address > 127.0.0.1:6661 > debug1: Local forwarding listening on ::1 port 5661. > ^ > > > > It looks like the problem is that AutoSSH is binding to IPV6, *NOT* > IPv4! sshd is set to "Ad

Re: Troubleshooting AutoSSH

2013-07-12 Thread L. V. Lammert
On Fri, 12 Jul 2013, Andrew Schulman wrote: > > Trying to debug a session, .. neither AUTOSSH_DEBUG nor AUTOSSH_LOGLEVEL: > > > > $ env | grep AUTO > > AUTOSSH_DEBUG=1 > > AUTOSSH_LOGLEVEL=7 > > > > nor -vv: > > > > cygrunsrv -I AutoSSH -f "remote_link" -p /usr/bin/autossh -a " -vv \ > > > > chang

Re: Troubleshooting AutoSSH

2013-07-11 Thread Andrew Schulman
> Trying to debug a session, .. neither AUTOSSH_DEBUG nor AUTOSSH_LOGLEVEL: > > $ env | grep AUTO > AUTOSSH_DEBUG=1 > AUTOSSH_LOGLEVEL=7 > > nor -vv: > > cygrunsrv -I AutoSSH -f "remote_link" -p /usr/bin/autossh -a " -vv \ > > change the logging info always ("Host key verification filed"); what

Troubleshooting AutoSSH

2013-07-11 Thread L. V. Lammert
Trying to debug a session, .. neither AUTOSSH_DEBUG nor AUTOSSH_LOGLEVEL: $ env | grep AUTO AUTOSSH_DEBUG=1 AUTOSSH_LOGLEVEL=7 nor -vv: cygrunsrv -I AutoSSH -f "remote_link" -p /usr/bin/autossh -a " -vv \ change the logging info always ("Host key verification filed"); what is the correct way to