Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the '10.5: A fix for failing SSH Bouncing' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.5: A fix for failing SSH Bouncing
Authored by: Alrescha on Mar 24, '09 09:30:07AM

I do this:

ssh -L 9022:hostc:22 hostb
ssh -p 9022 localhost

if you don't want the term on hostb, you can use -f on ssh, push the first
session into the background, and just use the second ssh session. Eg:

ssh -f -L 9022:hostc:22 hostb sleep 60;ssh -p 9022 localhost

and you're on host c.

A.



[ Reply to This | # ]