Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: Net::SCP::Expect Windows XP

by salva (Monsignor)
on Mar 29, 2014 at 00:04 UTC ( #1080169=note: print w/ replies, xml ) Need Help??


in reply to Net::SCP::Expect Windows XP

Net::SCP and Net::SCP::Expect are two different unrelated modules.

Net::SCP::Expect requires Expect which doesn't work on Windows (well, actually, it does works under Cygwin perl).

Net::SCP may work on Windows but it doesn't support password authentication.

You may like to check Net::SSH2 or Net::SSH::Any or, if you can use SFTP instead of SCP, Net::SFTP::Foreign+Net::SFTP::Foreign::Backend::Net_SSH2+Net::SSH2.


Comment on Re: Net::SCP::Expect Windows XP
Re^2: Net::SCP::Expect Windows XP
by anttikutoja (Initiate) on Mar 31, 2014 at 06:01 UTC

    Hello all,

    Many thanks for the replies. I tried Net::SSH but it also failed with a message that I should "Install a proper OS"! :)

    I guess I will have to write my own uploader. Shame because the GNU/Linux version in perl is working perfectly.

      I think you mean Net::OpenSSH which does not support Windows. Net::SSH is a different unrelated module which, BTW, works on Windows but doesn't support password authentication.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (6)
As of 2014-11-29 07:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred Perl binaries come from:














    Results (204 votes), past polls