]> gitweb.pimeys.fr Git - scripts-20-100.git/blobdiff - ssh_borne
Raccourci pour se connecter à une borne wifi
[scripts-20-100.git] / ssh_borne
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