ok... I'm writing a perl program that will use scp to copy a file from
one machine to another securely.

The problem is that scp asks for the users password...  how can I have
perl answer scp's request for a password...

by hand it looks like so;

$$scp -C test1111 [EMAIL PROTECTED]:test1111 
[EMAIL PROTECTED]'s password:
test1111             100%
|*********************************************************************|
0       --:-- ETA
$$

I would like to run the command like:

system("scp -C test1111 [EMAIL PROTECTED]:test1111");

But how do I then feed it the password for user bob ?

Thanks

Mike

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to