scp
Dear All,
After taking backup i want to copy backup file to another linux box (as an extra caution), using scp is fine..but trying to write script to this task i need to pass the destination server password within the scrip..
example:
scp -r mybackupfile myserverip:/directory password
Is that possible?
if not how to achieve this goal (copy the file to another server within a script)
Regards,
S.K
After taking backup i want to copy backup file to another linux box (as an extra caution), using scp is fine..but trying to write script to this task i need to pass the destination server password within the scrip..
example:
scp -r mybackupfile myserverip:/directory password
Is that possible?
if not how to achieve this goal (copy the file to another server within a script)
Regards,
S.K
0