[Israel.pm] Automate scp

Svetlana Degtiar svetlana at checkpoint.com
Mon Feb 4 00:41:15 PST 2008


Hi,

I want to automate scp. I had the password and the scp (/Users/xyz/test.txt
root at 192.168.11.95:/tmp) command in a file (Suppose).

I am able to execute the scp command successfully but I am not able to enter
password automatically.

Can any one suggest how to do it or any other way in Perl or shell to do
that.



Thanks,

Sveta.





More information about the Perl mailing list