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 [05.12.2019 12:28] Juha Kekäläinen |
guides:ssh-gateway [12.12.2019 18:15] Juha Kekäläinen |
||
---|---|---|---|
Line 1: | Line 1: | ||
# Setting up SSH-gateway | # Setting up SSH-gateway | ||
- | 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. Replace the <backend server> with your desired | + | 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. Replace the <backend server> with your target |
^SSH-Connection ^Command^ | ^SSH-Connection ^Command^ | ||
Line 8: | Line 8: | ||
| |or with the one command| | | |or with the one command| | ||
|Localpc|**ssh -t < | |Localpc|**ssh -t < | ||
+ | |Localpc with X11 Forwarding|**ssh -X -t < | ||
You can automate this all by creating local configuration file for the ssh (**$HOME/ | You can automate this all by creating local configuration file for the ssh (**$HOME/ | ||
Line 21: | Line 22: | ||
|Connect|**ssh < | |Connect|**ssh < | ||
|Download a file|**scp < | |Download a file|**scp < | ||
- | |Mount the filesystem|**sshfs < | + | |Upload a directory|**scp -r local/ |