Difference between revisions of "ssh through and to"

From thelinuxwiki
Jump to: navigation, search
(Created page with "sometimes we need to ssh through and intermediate server to gain access to anther. Why not do it in one step? Why not ssh "through and to"? $ ssh -A -t user@first_intermed...")
 

Latest revision as of 19:31, 23 May 2014

sometimes we need to ssh through and intermediate server to gain access to anther. Why not do it in one step? Why not ssh "through and to"?

$ ssh -A -t user@first_intermediate_host ssh -A usernameb@final_destination