Added quotes to var.

This commit is contained in:
Raphaël Numbus
2026-05-29 15:50:28 +02:00
parent 514d13d8ff
commit 3680768414
+1 -1
View File
@@ -101,7 +101,7 @@ setup_ssh() {
echod "\n ➡️ Copying SSH key to target host '${TARGET_USER}@${LIVE_TARGET_IP}'..."
if cat "~/.ssh/known_hosts" | grep ${LIVE_TARGET_IP}; then
if cat "~/.ssh/known_hosts" | grep "${LIVE_TARGET_IP}"; then
echo -e "\n ⚠️ The SSH fingerprint for the selected IP address $(gum style --italic "\"${LIVE_TARGET_IP}\"") is not the same as the one in $(gum style --italic "\".ssh/known_hosts\"").
This could occur for multiple reasons :