This commit is contained in:
Jeffrey Paul 2024-05-22 07:42:10 -07:00
parent c89910d5f5
commit 2cc47f9398

View File

@ -2,7 +2,7 @@
URL="https://dl.sneak.cloud/0000/authorized_keys"
function install_authorized_keys() {
function install_authorized_keys () {
mkdir -p /root/.ssh
curl -sL $URL > /root/.ssh/authorized_keys.new
if [[ $(wc -l /root/.ssh/authorized_keys.new | awk '{print $1}') -gt 0 ]]; then