This commit is contained in:
Stas Yakobov 2022-07-23 19:17:26 +03:00
parent e666733d66
commit 9911b08db4

View File

@ -2,7 +2,7 @@
user_authorized_keys_file="/mnt/data/ssh/authorized_keys"
curl -O https://raw.githubusercontent.com/fire1ce/UDM-Persistent-SSH-Keys/main/99-ssh-keys.sh
curl -sO https://raw.githubusercontent.com/fire1ce/UDM-Persistent-SSH-Keys/main/99-ssh-keys.sh
mv 99-ssh-keys.sh /mnt/data/on_boot.d/99-ssh-keys.sh
chmod +x /mnt/data/on_boot.d/99-ssh-keys.sh
echo "99-ssh-keys.sh installed"
@ -14,6 +14,6 @@ fi
chmod 0644 $user_authorized_keys_file
echo "Add you public keys to $user_authorized_keys_file"
echo "done."
echo "==> Add you public keys to $user_authorized_keys_file"
echo "==> Done."
exit 0