How to add ssh command with port forwarding (with -L, -R, -D) in Termius How to add ssh command with port forwarding (with -L, -R, -D) in Termius

How to add ssh command with port forwarding (with -L, -R, -D) in Termius

Eugene Oskin Eugene Oskin

This article provides examples of ssh command snippets with port forwarding rules mapped into Port Forwarding Rule in Termius.

Local Port Forwarding Rule

ssh -N -L 127.0.0.1:8080:web.example.com:80 user@host.example.com

mceclip0.png

Remote Port Forwarding Rule

ssh -N -R 127.0.0.1:8080:google.com:80 user@host.example.com

mceclip2.png

Dynamic Port Forwarding Rule

ssh -N -D 127.0.0.1:1080 user@host.example.com

mceclip3.png

Add comment

Please sign in to leave a comment.