This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
guides:ssh-gateway [04.12.2019 16:35] Juha Kekäläinen |
guides:ssh-gateway [05.12.2019 12:07] Juha Kekäläinen |
||
---|---|---|---|
Line 3: | Line 3: | ||
UEF SSH Gateway server can be used to connect various servers that are located within the university network. Authentication is done with the UEF credentials. | UEF SSH Gateway server can be used to connect various servers that are located within the university network. Authentication is done with the UEF credentials. | ||
- | ## SSH-connection | + | ^SSH-Connection |
- | + | ||
- | ^at prompt | + | |
|Localpc|**ssh < | |Localpc|**ssh < | ||
|sshgw|**ssh <backend server> | |sshgw|**ssh <backend server> | ||
Line 11: | Line 9: | ||
|Localpc|**ssh -t < | |Localpc|**ssh -t < | ||
- | ## sshfs | + | You can automate this all by creating local configuration file for the ssh (**$HOME/ |
- | ^at prompt | + | ``` |
- | |Localpc|**sshfs < | + | # content for the $HOME/ |
+ | Host <backend server> | ||
+ | ForwardX11 yes | ||
+ | ProxyCommand | ||
+ | ``` | ||
+ | |||
+ | ^X-Forwarding^Command^ | ||
+ | |Localpc|**ssh -t -A -X < | ||
+ | ^SSHFS | ||
+ | |Localpc|**sshfs < | ||
| |Unmounting| | | |Unmounting| | ||
|Localpc|**fusermount -u homedir**| | |Localpc|**fusermount -u homedir**| |