This commit is contained in:
Michael Grote 2023-07-21 18:58:25 +02:00
parent 7fd2a6727d
commit 8a66092c7c

2
x
View file

@ -38,7 +38,7 @@ while read -r FQDN SSH_KEY_PATH; do
FQDN=$(echo "$FQDN" | tr -d "[:space:]")
# prüfe ob Key existiert
if [ ! -e "$SSH_KEY_PATH" ]; then
echo "File SSH_KEY_PATH does not exist."
echo "File $SSH_KEY_PATH does not exist."
exit 2
fi
ssh -n -i "$SSH_KEY_PATH" "$FQDN" "/export show-sensitive" > "config_${FQDN}.rsc"