From 505fab9b21396816ebabe89a05de69f652ac55c8 Mon Sep 17 00:00:00 2001 From: idanoo Date: Wed, 12 Oct 2022 19:45:10 +1300 Subject: [PATCH] Remove RSA key --- static/authorized_keys | 2 -- static/setup.sh | 4 ++-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/static/authorized_keys b/static/authorized_keys index b3b2226..283bad4 100644 --- a/static/authorized_keys +++ b/static/authorized_keys @@ -1,3 +1 @@ ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIBwm+4i0Ql1OYXfOpEUrFjC/XpiI5yxBBU3iH4QOKRpN -ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCqGnqkZWJLfZmu9elk0qQPixaSaQ8XTw8qdIu/UTck5DfwFOIvteNXksmyH2kg7VqAv5uhLmIVldxooCMS6NPQzwLO13pDY2eOEmlZDz/c262bLBGOPXD73h9JcIityUpnyNsuDooe+DreiH9EmMTsENp3OCZ428dAEFMlxcBQdtd3ky3vOWV5ZCFbBRGbIPCWfC3JNweSH9ZXHf3Q9jhqUzHTltcBpFKGWb4aojTITarfkHrbM3iIi4R2GpSyp/qTMHEaywMlssqXHOJ31h8uFcHwi1tI+e+rgKxIskXgdshGNnjavNT6OfpCfuTZeUG11fi4zsaRi3gGVFYgtIYEdoL5SWLWByN9VnvydGWOcanJkQP9kAwhfSppF13Ae5p1PWJXLgz3bWVpQ27+991eGttRZTSPn//0++jJhwAgNxCGZojbIS3X7OhISKm5KJ/uIJOh7JEVVqhbaiUDZqcznpyMkf+2V5xpVzj+/TkoHPKVLHsvBWBZrw87Qx3TKKthyIkkDdWmtctycUWKywcTqq7lnqM6p/JpZ8PQGKJljVDz93UyfPQX4QBm0C88SM3EsiXZP31ImTqke453rVlgBu9GY9mcY0OxllJjEQPoGlI2sa7BS9o3J+c9Qt5SxHvrHNwubsbULtJW7J9VUit9pG8C8Gsh2UmUQYGf40N96Q== -ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIBwm+4i0Ql1OYXfOpEUrFjC/XpiI5yxBBU3iH4QOKRpN diff --git a/static/setup.sh b/static/setup.sh index c041217..1412277 100644 --- a/static/setup.sh +++ b/static/setup.sh @@ -5,8 +5,8 @@ # rm -fr ~/.ssh/authorized_keys # Root check -if [ "$EUID" -ne 0 ] - then echo "Please run as root" +if [ "$EUID" -ne 0 ]; then + echo "Please run as root" exit fi