From: Jakub Narebski Date: Mon, 12 Jan 2009 23:39:47 GMT Subject: Re: Help! My ISP blocks repo.or.cz. How to push changes? Message-ID: <200901130039.48340.jnareb@gmail.com> In-Reply-To: Asheesh Laroia wrote: > On Mon, 12 Jan 2009, Jakub Narebski wrote: > > > 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