http://qs321.pair.com?node_id=1232410


in reply to Modifying Script From Net::SFTP to Net::SFTP::Foreign

Not a solution (sorry), but an observation-that error sounds oddly familiar. Did the system being contacted update their version of OpenSSH from 5.x/6.x to 7.x? And what is the version of your Net::SFTP and Net::SSH::Perl? OpenSSH 7.0/7.0p1 was released 2015-08-11, with Net::SFTP and Net::SSH::Perl versions 1.39 and beyond being released after that date. My thought is that perhaps a newer version of those modules might also be an option (if you can't get a satisfactory answer to your primary question, but make sure to test first!).

Hope that helps.

Update: 2019-04-10
s/Net::SFTP/Net::SFTP and Net::SSH::Perl/g
s/that module/those modules/g

  • Comment on Re: Modifying Script From Net::SFTP to Net::SFTP::Foreign

Replies are listed 'Best First'.
Re^2: Modifying Script From Net::SFTP to Net::SFTP::Foreign
by CaptainK9 (Initiate) on Apr 10, 2019 at 18:43 UTC
    The system being contacted did do a lot of updates - yes I think you're spot on. I believe I have the latest of those two modules - I tried to do a yum udpate on both of them and it tells me it is the latest version.