Hi.
I am putting together a script to backup a shared folder and scp it to an off-site location (just in case
)
I was wondering, is it possible to pass to scp the password of the remote host, that way I dont need to nessesarily be at the system / ssh'ed in whilst the back up is processed?
I had tried passing it in via -p password (i know thats how other programs that do accept it would ask but it just said that the password didnt exist doh) Also tried redirecting it in from a file at run time, just totally ignored it and prompted for password anyway.
regards
I am putting together a script to backup a shared folder and scp it to an off-site location (just in case
I was wondering, is it possible to pass to scp the password of the remote host, that way I dont need to nessesarily be at the system / ssh'ed in whilst the back up is processed?
I had tried passing it in via -p password (i know thats how other programs that do accept it would ask but it just said that the password didnt exist doh) Also tried redirecting it in from a file at run time, just totally ignored it and prompted for password anyway.
regards