diff --git a/check-host.sh b/check-host.sh index 8e2a74e..fc9eba7 100644 --- a/check-host.sh +++ b/check-host.sh @@ -8,6 +8,7 @@ for host in $TARGET_HOSTS; do echo "Connecting to $host..." ssh \ + -i ~/.ssh/alpine_hosts \ -o BatchMode=yes \ -o StrictHostKeyChecking=accept-new \ "$SSH_USER@$host" \