...
More details are available here.
SSH via proxyJump
Anchor | ||||
---|---|---|---|---|
|
In order to ssh directly to an epp-theory machine from outside the SLAC network without having to do the two-step procedure explained above, one can setup a proxyJump through the gateway machines.
To do so, edit (or create if not present) the ssh configuration file (usually found in .ssh/config on a linux Linux machine) on the computer from which you want to connect and add the following lines
Host slacEPP1
User your-slac-username
HostName epp-theory01.slac.stanford.edu
ProxyJump your-slac-username@rhel6username@rhel6-64.slac.stanford.edu
Once
...
that
...
is
...
done,
...
you
...
can
...
connect
...
to
...
epp-theory01
...
by simply issuing the command
ssh your-slac-username@slacEPP1
even if you are outside the SLAC network and you don't have the VPN active.
From an authentication point of view this will work on any machine that can ssh to your-slac-username@rhel6
...
-64.slac.stanford.edu.\
If you want to ssh also to epp-theory02 or epp-theory03 you can add multiple blocks like the one above to your config file, just change the host and the hostname entries accordingly.
Note that since ssh is at the basis of other secure commands like scp, this setup allows one to copy from the epp-theory machines with the simple
scp local-file-to-copy username@slacEPP1:path-to-destination even if you are outside the SLAC network and you don't have the VPN on
Storage Space
Anchor | ||||
---|---|---|---|---|
|
...