X-Git-Url: https://git.cyclocoop.org/?p=lhc%2Fateliers.git;a=blobdiff_plain;f=remote%2Fssh;fp=remote%2Fssh;h=b5062447096b53b2d3ea0e9f4ca7d664b74335d8;hp=2ebd54255ee1702c907e36c05a8d70c9b1b20abe;hb=a11ad78672a096632b15a660509d7dd5f7c5eae5;hpb=0d705d8e2a919ee40866307aa3e18b1a5c4e7583 diff --git a/remote/ssh b/remote/ssh index 2ebd542..b506244 100755 --- a/remote/ssh +++ b/remote/ssh @@ -1,5 +1,7 @@ -#!/bin/sh -eux -tool=${0%/*}/.. +#!/bin/sh -eu +tool=$(readlink -e "${0%/*}/..") +. "$tool"/remote/lib.sh + ssh \ -o StrictHostKeyChecking=yes \ -o UserKnownHostsFile="$tool"/etc/openssh/known_hosts \