I have automated script to:
1) SSH into ESA
2) Generate configuration file
3) Back it up.
The script works fine until I did the upgrade in the past weekend, what I found is that now on version 8.5.6, the command "saveconfig no" is restricted to "cluster mode", and I need to find a way to insert "y" into my script,
here is my script, any suggestion to fix it? thanks.
FILENAME=`ssh -l xxx -i /home/xxx/.ssh/id_rsa $HOSTNAME "saveconfig no" | grep xml | cut -f 3 -d " "`
scp -i /home/xxx/.ssh/id_rsa xxx@$HOSTNAME:./configuration/$FILENAME /usr/tftpboot/tftp/ironport
Leo Song