in create SSH command with escaped empty string for passphrase
Make sure there is "" visible in the ouput
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user