Just one thing I don't understand...
Whenever these unexpected authentication requests occur, the client (like Putty) knows to hide the characters that the user types. So the client knows that this is a password request. I'm thinking that SSH.NET is maybe hiding this fact. Maybe it is because SSH.NET unregisters the authentication related messages after it connects. Seems it should keep these messages registered throughout the session to handle these authentication requests properly.
I'm not an SSH guru so my assumptions might be wrong. I plan to debug this further to see if the above is a correct assumption.
Whenever these unexpected authentication requests occur, the client (like Putty) knows to hide the characters that the user types. So the client knows that this is a password request. I'm thinking that SSH.NET is maybe hiding this fact. Maybe it is because SSH.NET unregisters the authentication related messages after it connects. Seems it should keep these messages registered throughout the session to handle these authentication requests properly.
I'm not an SSH guru so my assumptions might be wrong. I plan to debug this further to see if the above is a correct assumption.