mirror of
https://github.com/Mic92/nixos-wiki-infra.git
synced 2025-08-23 20:46:51 +02:00
deploy.sh: don't hide ssh prompts
This commit is contained in:
@@ -55,7 +55,7 @@ pre_deployment_checks() {
|
||||
|
||||
# Check SSH connectivity
|
||||
log "Checking SSH connectivity to ${WIKI_HOST}..."
|
||||
if ! ssh -o ConnectTimeout=10 -o BatchMode=yes "${SSH_TARGET}" "echo 'SSH connection successful'"; then
|
||||
if ! ssh -o ConnectTimeout=10 "${SSH_TARGET}" "echo 'SSH connection successful'"; then
|
||||
error "Cannot establish SSH connection to ${WIKI_HOST}"
|
||||
return 1
|
||||
fi
|
||||
|
Reference in New Issue
Block a user