ScpTransferEventListener
callback methodFollowing GH-428/GH-392 a new handleReceiveCommandAckInfo
method has been added to enable users to inspect acknowledgements of a receive
related command. The user is free to inspect the command that was attempted as well as the response code and decide how to handle it - including even throwing an exception if OK status (if this makes sense for whatever reason). The default implementation checks for ERROR code and throws an exception if so.
GH-445 implements an extension to the SSH protocol introduced in OpenSSH 9.6. This “strict key exchange” extension hardens the SSH key exchange against the “Terrapin attack” (CVE-2023-48795). The extension is active if both parties announce their support for it at the start of the initial key exchange. If only one party announces support, it is not activated to ensure compatibility with SSH implementations that do not implement it. Apache MINA sshd clients and servers always announce their support for strict key exchange.