# Forward localhostport to destinationhost:destinationhostport # using sshdhost. # # e.g, forward localhost:80 to remotehost:8080 using anysshdhost # sudo ssh -L 80:remotehost:8080 user@anysshdhost sudo ssh -L localhostport:destinationhost:destinationhostport user@sshdhost # Forward sshdhost:sshdhostport to # destinationhost:destinationhostport using sshdhost. # # e.g., forward localhost:80 to remotehost:8080 using localhost # ssh -R 80:remotehost:8080 root@localhost ssh -R sshdhostport:destinationhost:destinationhostport user@sshdhost
Thursday, November 12, 2009
SSH Port Forwarding
blog comments powered by Disqus
Subscribe to:
Post Comments (Atom)