Asheesh Laroia wrote:
On Mon, 12 Jan 2009, Jakub Narebski wrote:
quoted
But I have to run
$ ssh -f -N -L 2222:repo.or.cz:22 jnareb@host.example.com
first. Is there any way to automate this?
Check out 'gstm' or 'autossh'.
I don't know about gSTM (Gnome SSH Tunnel Manager), but autossh
does only provide reconnect in the case the gateway host closes
connection. I still have to run it, perhaps from startup script.
--
Jakub Narebski
Poland