Update check-host.sh
This commit is contained in:
1 parent
ffd9fe5d20
commit
c460ee8c5b
1 file changed
+4
@@ -3,7 +3,11 @@ set -euo pipefail
|
|||||||
|
|
||||||
: "${TARGET_HOSTS:?TARGET_HOSTS is not configured}"
|
: "${TARGET_HOSTS:?TARGET_HOSTS is not configured}"
|
||||||
: "${SSH_USER:?SSH_USER 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/=.*/=<set>/'
|
||||||
for host in $TARGET_HOSTS; do
|
for host in $TARGET_HOSTS; do
|
||||||
echo "Connecting to $host..."
|
echo "Connecting to $host..."
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user