]> git.evergreen-ils.org Git - evergreen/joelewis.git/commit
LP#2404514: Disable StrictHostKeyChecking in Net::SFTP::Foreign
authorJason Stephenson <jason@sigio.com>
Tue, 26 Mar 2024 15:37:08 +0000 (11:37 -0400)
committerblake <blake@mobiusconsortium.org>
Thu, 28 Mar 2024 20:08:25 +0000 (15:08 -0500)
commit0d3e221f6452ab6f463262909569dfc46d35d9ae
tree6cc8b442ac26375b7203e18b7118105e844947cf
parentfac2c6dbeffd1a7062050924ff4cd5f31fe10900
LP#2404514: Disable StrictHostKeyChecking in Net::SFTP::Foreign

Set the StrictHostKeyChecking option to no when using
Net::SFTP::Foreign.  Doing so allows the connection to proceed if
we've never connected to the server before or if the host key changes.

Note: This change has implications for security.  It should be kept as
a stand-alone commit in case a site decides to remove it.

Signed-off-by: Jason Stephenson <jason@sigio.com>
Open-ILS/src/perlmods/lib/OpenILS/Utils/RemoteAccount.pm