Update update.sh

scripts
Valentin 2023-09-15 00:01:44 +02:00 committed by GitHub
parent a93e9574c8
commit 599a6a2d07
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

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