[nylug-talk] SSH calling home
Samat Jain
lists at samat.org
Mon Mar 10 10:36:38 EDT 2008
Combine this with autossh (run on the firewalled box) to make sure the tunnel
gets restarted if it dies for whatever reason:
# Always assume initial connection will be successful
export AUTOSSH_GATETIME=0
# Disable echo service, relying on SSH exiting itself
export AUTOSSH_PORT=0
autossh -f -- -o 'ControlPath none' -R 1234:localhost:22 remote-machine -fN
On Monday 10 March 2008 09:45:29 am Adrian Sai-Wah TAM wrote:
> Maybe this works:
>
> Accessible Box: Run SSH
> Firewalled Box: ssh accessible box, with option "-R 1234:localhost:22"
> Your Box: ssh accessible box, with specified port 1234
>
> The accessible box and your box could be the same box.
--
Samat Jain <http://samat.org/> | GPG: 0x1A1993D3
Partner, Chief Technology Officer | Rhombic Networks, LLC
Why do "fat chance" and "slim chance" mean the same thing?
-- Anonymous (341)
More information about the nylug-talk
mailing list