From 411cb84b6c8946b752a2cbb405d546a97978256f Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Mon, 27 Jul 2015 15:52:28 +0200 Subject: reproducible: move script to correct hosts directory --- hosts/alioth/home/groups/reproducible/reschedule.sh | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100755 hosts/alioth/home/groups/reproducible/reschedule.sh (limited to 'hosts/alioth/home/groups') diff --git a/hosts/alioth/home/groups/reproducible/reschedule.sh b/hosts/alioth/home/groups/reproducible/reschedule.sh new file mode 100755 index 00000000..ee6b9c1f --- /dev/null +++ b/hosts/alioth/home/groups/reproducible/reschedule.sh @@ -0,0 +1,9 @@ +#!/bin/bash + +SSH_KEY="/home/groups/reproducible/private/jenkins-key" +SSH_KNOWN_HOSTS="/home/groups/reproducible/private/ssh_known_hosts" + +# "dummy" is discarded by the server ssh (jenkins.debian.net in this case) and +# it's there because otherwise the client ssh (this) tries to parse the options +# for the remote command +LC_USER="$USER" ssh -i "$SSH_KEY" -o GlobalKnownHostsFile="$SSH_KNOWN_HOSTS" jenkins@jenkins.debian.net dummy "$@" -- cgit v1.2.3-70-g09d2