Ssh session with X-forwarding

From Thom Group Wiki
Revision as of 11:51, 1 May 2020 by Fa381 (talk | contribs) (Created page with "In order to set up a quick link to an ssh session through citadel with X-forwarding the following code has to be added to a `~/.ssh/config` file ``` ForwardX11 yes ForwardX11T...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

In order to set up a quick link to an ssh session through citadel with X-forwarding the following code has to be added to a `~/.ssh/config` file ``` ForwardX11 yes ForwardX11Trusted yes

Host $machine User $crsid Hostname $machine.ch.private.cam.ac.uk ProxyCommand ssh -Y $crsid@citadel.ch.cam.ac.uk -W $machine.ch.private.cam.ac.uk:22

Host citadel User $crsid Hostname citadel.ch.cam.ac.uk ``` where `$machine` is the local host you would like to connect to (cerebro/sandstone/hylas ...)