Passing SCP password in a script
CharanAug 20 2011 — edited Sep 30 2011Dear all,
I am passing a file from one server to another using scp. It asks for password to do with the command
scp -r /file_path/filename 10.10.80.80:/target_path, I want to schedule it in a script, how can I pass the password to scp in a script, or is there a way ro pass the password for as scp as argument in its command.
Regards,
Charan