From c460ee8c5bdf63c65df73e34a4342b8f52f375db Mon Sep 17 00:00:00 2001 From: Leo Date: Sat, 10 Oct 2026 01:17:51 +0800 Subject: [PATCH] Update check-host.sh --- check-host.sh | 4 ++++ 1 file changed, 4 insertions(+) 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..."