SSH tunneling in Linux

Once you have SSH access to the server, you can use tunneling to connect to its services that are unavailable to others.

Use the following command to make example.com:1521 be available as your localhost:1522.

ssh -N -p 22 usename@example.com -L 1521:localhost:1522
Tagged as : Linux

Comments