From 59e21ecb524b130fcf78a5cad9aab4049e753910 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Sat, 25 Nov 2017 16:08:35 +0100 Subject: bin/slave-build-connect: keep log of (valid) ssh commands --- bin/slave-build-connect | 3 +++ 1 file changed, 3 insertions(+) (limited to 'bin/slave-build-connect') diff --git a/bin/slave-build-connect b/bin/slave-build-connect index a3fdc5d..ff8beac 100755 --- a/bin/slave-build-connect +++ b/bin/slave-build-connect @@ -15,6 +15,9 @@ if [ "${SSH_ORIGINAL_COMMAND%% *}" = "get-assignment" ] || \ fi + printf '%s %s' "$1" "${SSH_ORIGINAL_COMMAND}" >> \ + "${work_dir}/ssh-log" + slave="$1" /bin/sh -c "${base_dir}/bin/${SSH_ORIGINAL_COMMAND}" else -- cgit v1.2.3-70-g09d2