Update update.sh
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user