Port Forwarding via ~C

ssh [email protected] -i dev -o EnableEscapeCommandline=yes
daniel@pandora:~$ ~C
ssh> -L 8000:127.0.0.1:80

Everything we send to our local machine on port 8000 will be sent to the servers local port 80

Check with

ss -lntp | grep 8000

Last updated