From 470c57a6f485f77df382fdae0cfafe0bd2191845 Mon Sep 17 00:00:00 2001 From: Tobias Date: Sun, 11 Oct 2026 00:30:30 +0000 Subject: [PATCH] Update porygon-management.sh --- porygon-management.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/porygon-management.sh b/porygon-management.sh index 63694ca..9433fde 100644 --- a/porygon-management.sh +++ b/porygon-management.sh @@ -26,7 +26,7 @@ read -p "enter the server's hostname: " HOSTNAME read -p "enter the server's IP: " IP echo "trusting remote ssh host key" -ssh-keyscan -H "$IP" >> /root/.ssh/known_hosts || { +ssh-keyscan -P "$PORT" -H "$IP" >> /root/.ssh/known_hosts || { echo "failed to trust remote host key" exit 1 }