# 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 **** with your target server address and replace **** with your university account. **NOTE:** To get access to SSH-gateway server send access request by email to [bioinformatics@uef.fi](mailto:bioinformatics@uef.fi). ^SSH-Connection ^Command^ |Localpc|**ssh @sshgw.uef.fi**| |sshgw|**ssh **| | |or with the one command| |Localpc|**ssh -t @sshgw.uef.fi ssh **| |Localpc with X11 Forwarding|**ssh -X -t @sshgw.uef.fi ssh -X **| You can automate this all by creating local configuration file for the ssh (**$HOME/.ssh/config**) with following content. If you wish to forward X11 applications add "ForwardX11" option as well. ``` # content for the $HOME/.ssh/config file Host ForwardX11 yes ProxyCommand ssh -W %h:%p @sshgw.uef.fi ``` After you have created the configuration file you can directly connect to the ^SSH-Connection ^Command^ |Connect|**ssh @**| |Download a file|**scp @:/path/to/file local/file/system**| |Upload a directory|**scp -r local/directory @:/path/to/destination**|