Another SSH trick
Contents
Ever have a machine you can only ssh into through another machine? It’s a very
common situation in the Technion. Here’s one way to get around it: Assume you
can directly ssh into alpha
, and from alpha
you can ssh into beta
. Have
the following code in your ~/.ssh/config
:
|
|
This requires you to have nc
(netcat) installed on alpha
. Once you do that,
you can run ssh beta
directly from your own box.