Thanks for putting in the effort into finding a reproducer for the reported issue.
I could indeed reproduce the issue you have been experiencing. I am attaching a couple scripts to aid others to reproduce the bug (this includes a README file with further instructions).
Interestingly, if you swap the preferred authentications order to read
Hi Niklas,
Thanks for putting in the effort into finding a reproducer for the reported issue.
I could indeed reproduce the issue you have been experiencing. I am attaching a couple scripts to aid others to reproduce the bug (this includes a README file with further instructions).
Interestingly, if you swap the preferred authentications order to read
PreferredAuthen tications= gssapi- keyex,gssapi- with-mic
The bug will not manifest itself.
Next, I will verify if other branches at https:/ /github. com/openssh- gsskex/ openssh- gsskex are also affected. If this is the case, we should report the issue there.