linter
This commit is contained in:
parent
8cac7b026f
commit
b178711b78
1 changed files with 1 additions and 1 deletions
2
app.sh
2
app.sh
|
@ -67,7 +67,7 @@ while true ; do
|
||||||
exit 2
|
exit 2
|
||||||
fi
|
fi
|
||||||
# check if target is reachable
|
# check if target is reachable
|
||||||
if ssh -q -i "$SSH_KEY_PATH" -o StrictHostKeyChecking=no -o BatchMode=yes -o ConnectTimeout=5 "${USERNAME}@${FQDN}" ; then
|
if ssh -n -q -i "$SSH_KEY_PATH" -o StrictHostKeyChecking=no -o BatchMode=yes -o ConnectTimeout=5 "${USERNAME}@${FQDN}" ; then
|
||||||
echo "[INFO] export $FQDN config..."
|
echo "[INFO] export $FQDN config..."
|
||||||
ssh -n -o StrictHostKeyChecking=no -i "$SSH_KEY_PATH" "${USERNAME}@${FQDN}" "/export show-sensitive" > "config_${FQDN}.rsc" 2> /dev/null
|
ssh -n -o StrictHostKeyChecking=no -i "$SSH_KEY_PATH" "${USERNAME}@${FQDN}" "/export show-sensitive" > "config_${FQDN}.rsc" 2> /dev/null
|
||||||
# entferne Datumszeile
|
# entferne Datumszeile
|
||||||
|
|
Loading…
Reference in a new issue