diff --git a/check-host.sh b/check-host.sh index fc9eba7..0a79312 100644 --- a/check-host.sh +++ b/check-host.sh @@ -3,7 +3,11 @@ set -euo pipefail : "${TARGET_HOSTS:?TARGET_HOSTS is not configured}" : "${SSH_USER:?SSH_USER is not configured}" +echo "SSH directory:" +ls -la ~/.ssh/ 2>/dev/null || true +echo "SSH-related environment variables:" +env | grep -Ei 'ssh|key' | sed 's/=.*/=/' for host in $TARGET_HOSTS; do echo "Connecting to $host..."