This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
guides:ssh-gateway [05.12.2019 12:04] Juha Kekäläinen |
guides:ssh-gateway [05.12.2019 12:07] Juha Kekäläinen |
||
---|---|---|---|
Line 8: | Line 8: | ||
| |or with the one command| | | |or with the one command| | ||
|Localpc|**ssh -t < | |Localpc|**ssh -t < | ||
+ | |||
+ | You can automate this all by creating local configuration file for the ssh (**$HOME/ | ||
+ | ``` | ||
+ | # content for the $HOME/ | ||
+ | Host <backend server> | ||
+ | ForwardX11 yes | ||
+ | ProxyCommand | ||
+ | ``` | ||
+ | |||
^X-Forwarding^Command^ | ^X-Forwarding^Command^ | ||
|Localpc|**ssh -t -A -X < | |Localpc|**ssh -t -A -X < |