This commit is contained in:
Jeffrey Paul 2024-05-22 07:42:10 -07:00
parent c89910d5f5
commit 2cc47f9398
1 changed files with 1 additions and 1 deletions

View File

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