Navigate: homepage/help/ssh

UNIX Commands quick help

SSH Tunneling

Local

        
        ssh -L 123:localhost:456 remotehost
        ssh -L 123:farawayhost:456 remotehost

        -f : Fork to background
        -N : Don't open shell
    

Remote

        
        ssh -R 123:localhost:456 remotehost
        ssh -R 123:nearhost:456 remotehost

        -f : Fork to background
        -N : Don't open shell