Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Net::SCP RSA passwords on ActiveState

by diskcrash (Hermit)
on Mar 27, 2006 at 03:05 UTC ( #539356=perlquestion: print w/ replies, xml ) Need Help??
diskcrash has asked for the wisdom of the Perl Monks concerning the following question:

Wise Monks,

For testing purposes I am using ActiveState Perl on WindowsXP for secure file transfers. I have downloaded the Net::SCP module with ppm and would like to use it non-interactively to grab short status files from an FC4 Linux system. The script doc advises the installation of a public key, generated by ssh-keygen from the remote system. What I have not been able to determine is where the public key should be stored on the XP system for Net::SCP to locate and use it. Looking at the SCP and SSH .pm files didn't provide a clue. Most goo-guidance is for Linux usage and doesn't map to XP. I try the script and get no errors and no files transferred, when the public key file is in the local directory. Any advice would be most appreciated.

David Drake

Comment on Net::SCP RSA passwords on ActiveState
Re: Net::SCP RSA passwords on ActiveState
by idsfa (Vicar) on Mar 27, 2006 at 06:31 UTC

    The Net::SCP module depends upon you having one or another or yet another implementation of scp already installed on your system. Since each of those (and any other options that might exist) use a different convention as to where they store their key files, it will be hard to help you without knowing which tool you are using.

    If you do not yet have a version of scp installed, I would recommend CygWin (since it is free and ends up looking pretty linux-y). If you do that, don't install or use their version of perl.

    Alternately, you could use Net::SSH::Perl and do it purely in perl. The pscp script that comes with it should get you started ...


    The intelligent reader will judge for himself. Without examining the facts fully and fairly, there is no way of knowing whether vox populi is really vox dei, or merely vox asinorum. — Cyrus H. Gordon

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://539356]
Approved by perl_lover
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (7)
As of 2014-08-27 08:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (232 votes), past polls