Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: SCP help

by ikegami (Patriarch)
on May 03, 2010 at 05:08 UTC ( [id://838030]=note: print w/replies, xml ) Need Help??


in reply to SCP help

You would have gotten the same result from the prompt. Your problem has nothing to do with Perl.
root:root_password@foo.bar.com:/my/remote/path_name
means file root_password@foo.bar.com:/my/remote/path_name on machine root. The path should be
root@foo.bar.com:/my/remote/path_name
You could feed the password to its STDIN (probably), but it would be better if you used public key authentication (so you don't need to specify a password at all).

Replies are listed 'Best First'.
Re^2: SCP help
by salva (Canon) on May 03, 2010 at 18:20 UTC
    You could feed the password to its STDIN (probably)
    Not really, ssh opens /dev/tty and reads the password from there.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (6)
As of 2024-04-24 22:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found