Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation

Re: Net::SCP::Expect Windows XP

by salva (Abbot)
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.

Replies are listed 'Best First'.
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?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1080169]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (9)
As of 2018-06-25 20:33 GMT
Find Nodes?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?

    Results (128 votes). Check out past polls.