Advertisement
fplanzer

ssh tunneling

Nov 26th, 2018
223
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.21 KB | None | 0 0
  1. ssh -L local-port:localhost:remote-port remote-server-IP
  2.  
  3. ssh -L 8888:localhost:32400 xxx.xxx.xxx.xxx
  4.  
  5. or
  6.  
  7. ssh remote-server-IP -L local-port:localhost:remote-port
  8.  
  9. ssh xxx.xxx.xxx.xxx -L 8888:localhost:32400
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement