User Tools

Site Tools


guides:ssh-gateway

**This is an old revision of the document!**

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.

SSH-Connection Command
Localpcssh <uefad>@sshgw.uef.fi
sshgwssh <backend server>
or with the one command
Localpcssh -t <uefad>@sshgw.uef.fi ssh <backend server>

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 <backend server>
    ForwardX11 yes
    ProxyCommand    ssh -W %h:%p sshgw.uef.fi
X-ForwardingCommand
Localpcssh -t -A -X <uefad>@sshgw.uef.fi ssh -Y <backend server>
SSHFS Command
Localpcsshfs <uefad>@sshgw.uef.fi:/path local_directory
Unmounting
Localpcfusermount -u homedir
guides/ssh-gateway.1575540471.txt.gz · Last modified: 05.12.2019 12:07 by Juha Kekäläinen