From 23c577eb09cff8c08d157c3a7625fe681abae166 Mon Sep 17 00:00:00 2001 From: Vincent Le Gallic Date: Wed, 4 Jan 2017 11:32:11 +0100 Subject: [PATCH] =?utf8?q?[ssh=5Fborne]=20Maintenant=20les=20options=20fou?= =?utf8?q?rnies=20=C3=A0=20sshb=20sont=20forward=C3=A9es=20=C3=A0=20ssh?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- ssh_borne | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ssh_borne b/ssh_borne index d64048f..dc7027b 100755 --- a/ssh_borne +++ b/ssh_borne @@ -6,4 +6,7 @@ then exit 1 fi -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 +borne=$1 +shift + +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@${borne}.wifi.crans.org $@ -- 2.39.2