To receive notifications about scheduled maintenance, please subscribe to the mailing-list gitlab-operations@sympa.ethz.ch. You can subscribe to the mailing-list at https://sympa.ethz.ch

Commit 781cb876 authored by Axel Beckert's avatar Axel Beckert

Disable agent- and X-forwarding just to be sure

parent 3b7c4284
......@@ -20,6 +20,6 @@ fi
hash=$(sha256sum ioc-local-check.pl | awk '{print $1}')
for host in $hosts; do
scp -qp ioc-local-check.pl root@$host:/tmp/
ssh root@$host '[ $(sha256sum /tmp/ioc-local-check.pl | awk '\''{print $1}'\'') = '"$hash"' ] && perl /tmp/ioc-local-check.pl '"$params"'; if [ $(sha256sum /tmp/ioc-local-check.pl | awk '\''{print $1}'\'') != '"$hash"' ]; then echo "$(hostname): WARNING: /tmp/ioc-local-check.pl modified, not deleting"; else rm /tmp/ioc-local-check.pl; fi'
ssh -ax root@$host '[ $(sha256sum /tmp/ioc-local-check.pl | awk '\''{print $1}'\'') = '"$hash"' ] && perl /tmp/ioc-local-check.pl '"$params"'; if [ $(sha256sum /tmp/ioc-local-check.pl | awk '\''{print $1}'\'') != '"$hash"' ]; then echo "$(hostname): WARNING: /tmp/ioc-local-check.pl modified, not deleting"; else rm /tmp/ioc-local-check.pl; fi'
done
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment