in reply to Re^2: Net::SFTP::Foreign Cipher check
in thread Net::SFTP::Foreign Cipher check

Well, probably, though it depends of all those #if blocks in the code you have pasted.

There is only one way to know for sure, and it is trying!