diff --git a/authorize-server b/authorize-server index b1ab381..c64ef1e 100644 --- a/authorize-server +++ b/authorize-server @@ -8,7 +8,7 @@ while IFS= read -r SERVER || [ -n "$SERVER" ]; do done < "$SERVER_LIST_FILE" # Read the public SSH key from the update server -UPDATE_SERVER="192.168.1.100" # replace with your update server IP address +UPDATE_SERVER="10.0.3.77" # replace with your update server IP address PUBLIC_KEY=$(ssh root@${UPDATE_SERVER} "cat ~/.ssh/id_rsa.pub") # Loop through the server list and add the public key to the authorized_keys file of each server