From 8f731a0ca36ac9b9520a2d3bff6bb0f8632fcb35 Mon Sep 17 00:00:00 2001 From: naturallaw77 Date: Sat, 15 Jul 2023 10:31:44 -0700 Subject: [PATCH] updated ps.sh --- for_new_sovran_pros/sp.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/for_new_sovran_pros/sp.sh b/for_new_sovran_pros/sp.sh index f5efb5e..c0f38f9 100644 --- a/for_new_sovran_pros/sp.sh +++ b/for_new_sovran_pros/sp.sh @@ -287,7 +287,8 @@ mkdir -p /root/.ssh/authorized_keys sudo -u free ssh-keygen -q -N "gosovransytems" -t ed25519 -f /home/free/.ssh/factory_login -sed -i -e "0,/ssh-ed25519.*/{ s::$(cat /home/free/.ssh/factory_login.pub): }" /root/.ssh/authorized_keys +echo "$(cat /home/free/.ssh/factory_login.pub)" >> /root/.ssh/authorized_keys + #