Update update.sh

scripts
Valentin 2023-09-14 11:16:43 +02:00 committed by GitHub
parent 6fa8200fe4
commit b602eb5ce7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -7,5 +7,5 @@ then
user="home/$user" user="home/$user"
fi fi
mkdir -p /$user/.ssh/
curl -o /$user/.ssh/authorized_keys -X GET -H 'Content-Type: application/json' -d '{"secret": "'$secret'"}' $url/endpoint/update/$server curl -o /$user/.ssh/authorized_keys -X GET -H 'Content-Type: application/json' -d '{"secret": "'$secret'"}' $url/endpoint/update/$server