X-Git-Url: https://git.cyclocoop.org/?p=lhc%2Fateliers.git;a=blobdiff_plain;f=etc%2Fnginx%2Fsite.d%2Flhc-remorque%2Fremote.sh;h=6873bc14dff07b3bb94dd003343298b7f7df7440;hp=d2cc25693fd47c6e5c2e3ca4ec8b9853ef74e551;hb=e2ae547ef85e29f3f9c9dfe31feffdac2653df06;hpb=d210d4efb0016a3ea2425af9f601bfe908161499 diff --git a/etc/nginx/site.d/lhc-remorque/remote.sh b/etc/nginx/site.d/lhc-remorque/remote.sh index d2cc256..6873bc1 100644 --- a/etc/nginx/site.d/lhc-remorque/remote.sh +++ b/etc/nginx/site.d/lhc-remorque/remote.sh @@ -1,5 +1,5 @@ gpg --decrypt "$tool"/var/sec/ssh/wiki-"$site".gpg | -"$tool"/remote/ssh -l root ' \ +"$tool"/remote/ssh root@"$local_ipv4" ' \ set -e -f -u -x sudo install -d -m 1751 -o lhc -g lhc \ /home/lhc \