Request a password only if needed (General questions)
Hello,
I'm testing SSH.NET for making a terminal program like SecureCRT.
I have noticed (with a sniffer) when connecting to my router using SecureCRT without providing any user name or password, it is establishing connection and then prompts for user name. after providing the username, some packets are sent then it prompts for password.
Now, I was wondering how could SecureCRT recognize when a user name is required and when a password ?
I suspect it's because of the cipher, but could not understand how this 3 states connection can be done with your component.
Thanks for the help.
Marian.