User Tools

Site Tools


Sidebar

Navigation

Join us by

user mailing list
devel mailing list


More news...

RSS

tutorial:list_of_command_to_allow_ssh_xxx.g5k
  • vi ~/.ssh/config

Inside this file for mister_dupont :

Host g5k
 User mister_dupont
 Hostname access.grid5000.fr
 ForwardAgent no
Host *.g5k
 User mister_dupont
 ProxyCommand ssh g5k "nc -q 0 `basename %h .g5k` %p"
 ForwardAgent no
  • Then:

ssh-keygen (or if dsa wanted: -t dsa )

cp ~/.ssh/authorized_keys ~/.ssh/authorized_keys.bckp

cat ~/.ssh/id_dsa.pub » ~/.ssh/authorized_keys

scp -rp ~/.ssh grenoble.g5k

scp -rp ~/.ssh lille.g5k

scp -rp ~/.ssh nancy.g5k

scp -rp ~/.ssh lyon.g5k

scp -rp ~/.ssh sophia.g5k

scp -rp ~/.ssh rennes.g5k

scp -rp ~/.ssh toulouse.g5k

scp -rp ~/.ssh bordeaux.g5k

scp -rp ~/.ssh orsay.g5k

scp -rp ~/.ssh luxembourg.g5k

scp -rp ~/.ssh reims.g5k

  • Finnaly

mv ~/.ssh/authorized_keys.bckp ~/.ssh/authorized_keys

tutorial/list_of_command_to_allow_ssh_xxx.g5k.txt · Last modified: 2014/12/17 09:29 (external edit)