Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
In accordance to RFC8308, send ext-info-c only during the first key exchange. Some server implementations such as OpenSSH 7 will send an extInfoMsg message each time when ext-info-c is received. This results in a closed connection, as our client does not expect this message while handling the mux. See https://bugzilla.mindrot.org/show_bug.cgi?id=2929 regarding the behaviour of OpenSSH if it sees ext-info-c in later key exchanges. Fixes #51808 Signed-off-by: Peter Verraedt <[email protected]>
- Loading branch information