This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
guides:ssh-gateway [09.12.2019 15:02] Juha Kekäläinen |
guides:ssh-gateway [31.05.2022 11:09] (current) Administrator |
||
---|---|---|---|
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 target server address. | + | 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 server address |
+ | |||
+ | **NOTE:** To get access to SSH-gateway server send access request by email to [bioinformatics@uef.fi](mailto: | ||
^SSH-Connection ^Command^ | ^SSH-Connection ^Command^ | ||
Line 8: | Line 10: | ||
| |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 14: | Line 17: | ||
Host <backend server> | Host <backend server> | ||
ForwardX11 yes | ForwardX11 yes | ||
- | ProxyCommand | + | ProxyCommand |
``` | ``` | ||
After you have created the configuration file you can directly connect to the <backend server> | After you have created the configuration file you can directly connect to the <backend server> | ||
^SSH-Connection ^Command^ | ^SSH-Connection ^Command^ | ||
- | |Connect|**ssh <uefad> | + | |Connect|**ssh <uef-account> |
- | |Download a file|**scp <uefad> | + | |Download a file|**scp <uef-account> |
- | |Upload a directory|**scp -r local/ | + | |Upload a directory|**scp -r local/ |