Monday, January 25, 2010

SSH Port Forwarding in 30 seconds

For those who want to access data behind a firewall, you can forward remote port onto a local port on your machine. For example, we want to forward the port 80 for to your localhost on port 8088. The only command you have to type is
ssh -L
  • 8088 is the local port on your computer
  • is the distant host
  • 80 is the distant port to forward
  • is the credential used to log onto the host

No comments:

Post a Comment