Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re^2: scp perl

by pc88mxer (Vicar)
on Feb 06, 2008 at 00:41 UTC ( [id://666427]=note: print w/replies, xml ) Need Help??


in reply to Re: scp perl
in thread scp perl

One perl related safe-guard I'd recommend is to use the multi-argument form of system:

system('scp', "login:password@host:path/to/file.txt", "file_backup.txt");

Also, I'd second the use of authorized_keys. Not only is it more convenient, but it centralizes the management of your security which very helpful.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://666427]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (4)
As of 2024-04-19 05:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found