Yes, Net::SSH2 is the way to go, imo.
However, I recommend using it via Net::SFTP::Foreign::Backend::Net_SSH2 - which uses Net::SFTP::Foreign.
I don't think these additional modules ship with Strawberry Perl, but installation of them is trivial:
cpan -i Net::SFTP::Foreign::Backend::Net_SSH2
I don't know why the OP would have had trouble installing Net::SFTP::Foreign - perhaps it was because of the absence of Net::SSH2.
Certainly, IO::Pty (which is unusable on native Windows) is not needed.
Cheers, Rob | [reply] [d/l] |