On Fri, May 09, 2014 at 10:07:13PM +0100, steve-ALUG@hst.me.uk wrote:
On 09/05/14 17:25, Chris Green wrote:
So what could be making the tunnels work some of the time but not all of the time?
I'm not an expert, but to me it doesn't look like that ssh's are staying alive.
You're right! I hadn't looked hard enough.
These processes
968 May04 /usr/sbin/sshd -D 1262 May04 /usr/lib/autossh/autossh -N -R 51234:localhost:22 -l chris cheddar.halon.org.uk 1263 May04 /usr/lib/autossh/autossh -N -R 51235:localhost:22 -l isbdnet3 shell.gridhost.co.uk 1264 May04 /usr/lib/autossh/autossh -N -R 51236:localhost:22 -l timetode shell.gridhost.co.uk
all have been running since May 4.
18064 May08 /usr/bin/ssh -L 61875:127.0.0.1:61875 .... was May 8th
All the rest are started today.
... and that one that started on May 8th seems to work all the time.
So, as you say, the other ssh processes are getting restarted by autossh for some reason.
Wierdly both the 51235 and the 51236 process are, as you can see, connecting via the same intermediate platform at shell.gridhost.co.uk so why they're acting differently is anybody's guess.
Thank you!