3
1
I keep an ssh tunnel open with autoSSH. Every few days the tunnel seems to sporadically close.
I do a ps -ef | grep autoSSH
, and autoSSH is still running. Occasionally autoSSH will output
Warning: remote port forwarding failed for listen port 52698
Also, I run autoSSH with nohup. Does anyone have any ideas? Or does anyone know what I could do to debug this?
Have you tried another Port than 52698? I remember ports 50000 upwards are heavily used by the OS. I suggest running autossh inside "screen" instead of using nohup. – Tim Haegele – 2013-09-06T18:32:50.470
ahhhh sorry, I copy/pasted that line from somewhere, the port im using is 2343. Is there any reason you suggest using screen instead of nohup? – None – 2013-09-06T18:42:39.200