mirror of https://github.com/itsmrval/accessGate
Update update.sh
parent
49e954c648
commit
6fa8200fe4
|
|
@ -8,4 +8,4 @@ user="home/$user"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
curl -o /$user/.ssh/authorized_keys -s -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
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue