]> gitweb.pimeys.fr Git - scripts-20-100.git/blob - ssh_borne
[bde] depenses.py : inversion gains/dépenses
[scripts-20-100.git] / ssh_borne
1 #!/bin/bash
2
3 if [[ "`hostname`" != "fy" ]];
4 then
5 echo "À exécuter sur fy !"
6 exit 1
7 fi
8
9 ssh -i /etc/crans/secrets/id_rsa_wifi.adm -o BatchMode=yes -o UserKnownHostsFile=~/.ssh/ssh_known_bornes -o ForwardX11=no -o StrictHostKeyChecking=no -o PasswordAuthentication=no -o ConnectTimeout=10 root@$1.wifi.crans.org