Set up SSH for g5k - gpouilloux/kolla-g5k GitHub Wiki
Edit ~/.ssh/config
with the following :
# Alias for Grid'5000
Host g5k
User <login>
Hostname access.grid5000.fr
IdentityFile <private_key>
ForwardAgent no
# Automatic connection to hosts within Grid'5000, and not reachable direction on SSH tcp port 22
Host *.g5k
User <login>
IdentityFile <private_key>
ProxyCommand ssh g5k -W "`basename %h .g5k`:%p"
ForwardAgent no
It allows you to connect to g5k with ssh g5k
or to any frontend site using ssh rennes.g5k