good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re^2: scp perlby pc88mxer (Vicar) |
on Feb 06, 2008 at 00:41 UTC ( [id://666427]=note: print w/replies, xml ) | Need Help?? |
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.
In Section
Seekers of Perl Wisdom
|
|