1
0
mirror of synced 2025-12-28 00:23:25 +00:00

Update update.sh

This commit is contained in:
Valentin
2023-09-15 00:01:44 +02:00
committed by GitHub
parent a93e9574c8
commit 599a6a2d07

View File

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