[Israel.pm] Automate scp

Barih Uri Uri.Barih at comverse.com
Mon Feb 4 01:57:58 PST 2008


Uce expect util 

-----Original Message-----
From: perl-bounces at perl.org.il [mailto:perl-bounces at perl.org.il] On
Behalf Of Svetlana Degtiar
Sent: Monday, February 04, 2008 10:41 AM
To: perl at perl.org.il
Subject: [Israel.pm] Automate scp

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.


_______________________________________________
Perl mailing list
Perl at perl.org.il
http://perl.org.il/mailman/listinfo/perl



More information about the Perl mailing list