Tagged shell

Forward remote port of remote machine to local port through SSH

Use this command on your local machine to tunnel the port 8000 of remote machine 192.168.0.1 to your local machine at port 8000:

ssh -L 8000:192.168.0.1:8000 root@192.168.0.1

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.