Reverse SSH (or other tunnel/VPN)

Michael Hipp Michael
Wed Dec 22 13:05:08 PST 2004


Matthew Carpenter wrote:

> Did that answer your questions?
> The VI is in there because I had the darnedest time having the shell
> stay active when scripting this.  vi took and executes on the other
> machine and keeps the tunnel open.  Hacked, but works.
> 
> If I am using this for consistent tunneling (as in my email
> transmissions), I have a cronjob which kicks to make sure it stays up.
> The firewalls at certain borders will time out my tunnel (perhaps I
> should use "top" instead of "vi"  :)

Thank you. Yes.

I'm going to investigate using 'autossh' or else write some kind of 
cron-driven bash script to make sure it stays alive. But I think 
'autossh' will provide the more elegant solution.

Michael


More information about the Linux-users mailing list