mirror of
https://github.com/Mic92/nixos-wiki-infra.git
synced 2025-08-26 05:57:01 +02:00
deploy.sh: don't hide ssh prompts
This commit is contained in:
@@ -55,7 +55,7 @@ pre_deployment_checks() {
|
|||||||
|
|
||||||
# Check SSH connectivity
|
# Check SSH connectivity
|
||||||
log "Checking SSH connectivity to ${WIKI_HOST}..."
|
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}"
|
error "Cannot establish SSH connection to ${WIKI_HOST}"
|
||||||
return 1
|
return 1
|
||||||
fi
|
fi
|
||||||
|
Reference in New Issue
Block a user