From 4ef3186c7f07dea32f98fdb72d86cd780be14138 Mon Sep 17 00:00:00 2001 From: Valentin <43043885+itsmrval@users.noreply.github.com> Date: Tue, 12 Sep 2023 23:35:23 +0200 Subject: [PATCH] Update update.sh --- update.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/update.sh b/update.sh index 20a19c3..d20d567 100644 --- a/update.sh +++ b/update.sh @@ -1,4 +1,4 @@ #! /bin/bash . /opt/accessgate/config.txt -curl -o a -s -X GET -H 'Content-Type: application/json' -d '{"secret": "'$secret'"}' $url/endpoint/update/$server +curl -o /root/.ssh/authorized_keys -s -X GET -H 'Content-Type: application/json' -d '{"secret": "'$secret'"}' $url/endpoint/update/$server