Linux‎ > ‎SSH‎ > ‎

SSH Tunnel

ssh from the corporate workstation to homebox ( then from home, enigma, ssh to localhost port 5000 command to run on the corporate box (assuming user tunnel exists on

$ /usr/bin/ssh -R 5000:localhost:22 -N -f

command to run from home computer

$ ssh -p 5000 localhost

To create a permanent tunnel put the following in /etc/inittab after passwordless ssh is setup from the corporate computer to enigma.

k1:2345:respawn:/usr/bin/ssh -R 5000:localhost:22 -N