in reply to Re: Issues with Net::SCP::Expect
in thread Issues with Net::SCP::Expect

If you don't mind you probably should just use the build in /usr/bin/scp, it's better than every perl module I've tried and just works.

I do this in every script where scp is needed.

Replies are listed 'Best First'.
Re^3: Issues with Net::SCP::Expect
by haukex (Archbishop) on Dec 03, 2019 at 21:03 UTC
    If you don't mind you probably should just use the build in /usr/bin/scp, it's better than every perl module I've tried and just works.

    Really, even better than Net::OpenSSH? Scripting an external binary is a tricky and brittle thing to do (see e.g. here), and not something I'd recommend if there's a module that already does the task well, otherwise one is just reinventing the wheel.