From 329f3abb6b667c8f833bdec2e053f5e70d45c99b Mon Sep 17 00:00:00 2001 From: Clemens Schwaighofer Date: Tue, 11 Nov 2025 13:03:21 +0900 Subject: [PATCH] in create SSH command with escaped empty string for passphrase Make sure there is "" visible in the ouput --- src/bin/create_ssh_config.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bin/create_ssh_config.sh b/src/bin/create_ssh_config.sh index c1bb440..cad2543 100755 --- a/src/bin/create_ssh_config.sh +++ b/src/bin/create_ssh_config.sh @@ -61,7 +61,7 @@ fi; # SUDO_COMMAND= as base # ssh-keygen -t ed25519 -N "" -C "${GIT_REPOSITORY_NAME}" -f "${SSH_CONFIG_BASE}${SSH_KEY_NAME}" # must add ".pem" if key name does not end in .pem -SSH_COMMAND=("${SUDO_COMMAND[@]}" "ssh-keygen" "-t" "ed25519" "-N" "" "-C" "${GIT_REPOSITORY_NAME}" "-f" "${SSH_CONFIG_BASE}${GIT_REPOSITORY_NAME}.pem") +SSH_COMMAND=("${SUDO_COMMAND[@]}" "ssh-keygen" "-t" "ed25519" "-N" "\"\"" "-C" "${GIT_REPOSITORY_NAME}" "-f" "${SSH_CONFIG_BASE}${GIT_REPOSITORY_NAME}.pem") SSH_CONFIG_COMMAND=("${SUDO_COMMAND[@]}" "vim" "${SSH_CONFIG_BASE}config") # debug output for now