SSH quick configuration
From Grid5000
Configuring SSH to easily access G5K
On your local workstation modify your ssh connection configuration (replace USER with your actual user name):
- ~/.ssh/config
Host *.g5k ProxyCommand ssh -X <USER>@access.grenoble.grid5000.fr "nc -q 0 `basename %h .g5k` %p" User <USER> ForwardAgent no
Generate an ssh key to connect to the sites without typing your password (when prompting for a password, just let it blank by typing "enter"):
Backup your local authorized_keys file:
Add your key to the authorized_keys file:
Then, copy this key on (at least) the site where you want to connect. (Grenoble in the example above).
| Note | |
|---|---|
You may do this for all the other sites: lille, nancy, grenoble, lyon, sophia, rennes, toulouse, bordeaux, orsay | |
Now you should be able to connect to Grid'5000 without password by typing:
Then, for security reason, to not enable others to connect your local machine, restore your local authorized_keys file:
