SSH Tunneling with plink

To make local port 1234 forwarding to remote hostA port 21:
plink -v -C -N -L 1234:hostA:21 user@hostB
Now You can connect to localhost:1234 to access hostA:21 by tunnel created with hostB.

To accept connection from other hosts (not local only):
plink -v -C -N -L user@hostB

This entry was posted in plink, ssh. Bookmark the permalink. Post a comment or leave a trackback: Trackback URL.

Post a Comment

Your email is never published nor shared. Required fields are marked *


You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="">