Tech notes on the go

Thursday, October 17, 2013

SSH Port Forward multiple hops

Let's use VNC server two hops away.

ssh -4 -v -A -t -L 15902:localhost:15902 user1@host1 \
ssh -4 -v -A -L    15902:localhost:5900  user2@host2

vncviewer localhost:15902
Posted by fr0l at 12:28 PM
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: SSH

No comments:

Post a Comment

Newer Post Older Post Home
Subscribe to: Post Comments (Atom)

Blog Archive

  • ►  2020 (1)
    • ►  May (1)
  • ►  2019 (1)
    • ►  October (1)
  • ►  2017 (1)
    • ►  January (1)
  • ►  2016 (3)
    • ►  November (2)
    • ►  September (1)
  • ►  2015 (15)
    • ►  September (2)
    • ►  August (1)
    • ►  July (2)
    • ►  June (2)
    • ►  April (7)
    • ►  February (1)
  • ►  2014 (24)
    • ►  August (12)
    • ►  June (2)
    • ►  May (5)
    • ►  April (2)
    • ►  March (2)
    • ►  January (1)
  • ▼  2013 (26)
    • ►  December (3)
    • ▼  October (11)
      • Building iOS apps for Simulator with Xcode 5 with ...
      • SSH Port Forward multiple hops
      • Enable VNC Server on Mac OS X remotely
      • Decompiling Java classes on Linux with Krakatu jus...
      • Parse JUnit XML reports and output them in HTML
      • Auto build project with ant in Eclipse
      • Install libimobiledevice on Mac OS X
      • Enable VNC Server on Mac remotely
      • Disable hibernate in Windows 7 and delete hyberfil...
      • Uninstall MacPorts from Mac
      • How much memory can i insert into my Linux box
    • ►  September (8)
    • ►  August (4)
Simple theme. Powered by Blogger.