Help! - SCP Automated Backup file using Password
Hello Gentlemen,
I need to push the automated configuration backup files to a Windows server.
I tried this by copying the pub_key on to the destination server where this didn't work as the destination windows server is not supporting key based authentication.
The F5 LTM devices are running on TMOS version 11.4.1
I need to authenticate the destination server with password and I'm not sure if the automation script in place is working as expected, request your assistance.
Thanks for your help in advance!
Please find the code below:
! /bin/bash
var1=date
rm /automation/backup/*
devicename=F5LTM01_`date +%F`.ucs
tmsh save /sys ucs /automation/backup/$devicename
scp /automation/backup/$devicename F5Backup@XX.XX.XX.XX:/F5Backup
echo "Back up File copied to the Back Up Server(XX.XX.XX.XX) successfully to /F5Backup/ directory"