]> gitweb.pimeys.fr Git - scripts-20-100.git/commitdiff
Raccourci pour se connecter à une borne wifi
authorVincent Le Gallic <legallic@crans.org>
Sun, 29 Sep 2013 12:42:10 +0000 (14:42 +0200)
committerVincent Le Gallic <legallic@crans.org>
Sun, 29 Sep 2013 12:42:10 +0000 (14:42 +0200)
ssh_borne [new file with mode: 0755]

diff --git a/ssh_borne b/ssh_borne
new file mode 100755 (executable)
index 0000000..e955b59
--- /dev/null
+++ b/ssh_borne
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+ssh -i /usr/scripts/gestion/clef-wifi -o BatchMode=yes -o UserKnownHostsFile=~/.ssh/ssh_known_bornes -o ForwardX11=no -o StrictHostKeyChecking=no -o PasswordAuthentication=no -o ConnectTimeout=10 root@$1.ap.crans.org