changed Files: x

Signed-off-by: oxidized <michael.grote@posteo.de>
This commit is contained in:
Michael Grote 2023-07-21 18:51:05 +02:00
parent cdb8f39eb7
commit 8bff6233d2
No known key found for this signature in database
GPG key ID: 4D4C2CD4AE7F095E

8
x
View file

@ -36,6 +36,14 @@ IFS=','
while read -r fqdn path; do
# Print the variables (you can perform any actions you need here)
fqdn=$(echo $fqdn | tr -d "[:space:]")
#!/bin/bash
if [ ! -e "$path" ]; then
echo "File file_path does not exist."
exit 1
fi
ssh -n -i ${path} ${fqdn} "/export show-sensitive" > config_${fqdn}.rsc
echo add