ssh-tunnel() { nohup ssh -o ServerAliveInterval=15 -f -N -L ${1}:${2} ${3} > /dev/null 2>&1; }
ssh-tunnel <local-port> <remote-host>:<remote-port> <bastion>
ssh-tunnel 8080 127.0.0.1:8080 [email protected]
ssh-tunnel() { nohup ssh -o ServerAliveInterval=15 -f -N -L ${1}:${2} ${3} > /dev/null 2>&1; }
ssh-tunnel <local-port> <remote-host>:<remote-port> <bastion>
ssh-tunnel 8080 127.0.0.1:8080 [email protected]