SSH With Multiple Hops
-
Mon, Apr 18, 2011
-
One-minute read
Excellent question on superuser.com with a fantastic answer. If anyone needs to jump through multiple servers via ssh (or any other protocol) take a look at this answer.
ssh -L 9999:localhost:9999 host1 ssh -L 9999:localhost:1234 -N host2
If you found this post helpful, please consider sharing to your network. I'm also available to help you be
successful with your distributed systems! Please
reach out
if you're interested in working with me, and I'll be happy to schedule a free one-hour consultation.