4 ms·
On a related note, if you want to keep the connections open and get reconnected automatically on disconnection, try this autossh http://www.harding.motd.ca/auto
by surki 16y ago
On a related note, if you want to keep the connections open and get reconnected automatically on disconnection, try this autossh http://www.harding.motd.ca/autossh/ http://www.harding.motd.ca/autossh/
So I have something like
autossh -f -N -R 2222:localhost:22 home -S "none"
at my work machine(put into startup script), so I can always get back to the work machine from home.