This change is to add option version to SFTP session to override HIGHEST_PROTOCOL_VERSION_SUPPORTED during negotiation. This parameter is useful when SFTP server has bug which terminates the connection before version negotiationi if correct version is not passed.
This change is to add option version to SFTP session to override
HIGHEST_PROTOCOL_VERSION_SUPPORTED during negotiation. This parameter
is useful when SFTP server has bug which terminates the connection before
version negotiationi if correct version is not passed.

net-ssh/net-sftp