Re: keyboard-interactive authentication - WeOnlyDo Discussion board

Re: keyboard-interactive authentication (General questions)

by Jeff, Wednesday, December 28, 2005, 19:11 (6904 days ago) @ wodSupport

Hello - I have tried to handle the LoginChallenge event as you specified but it does not seem to get fired. I slightly modified both of your MFC console samples to see if I could get either one to work with keyboard-interactive authentication, but I could not. I am sending along my modified version of your console sample with fast notifications for you to try. In that sample if I change the call to SetAuthentication() to use password authentication instead of keyboard interactive authentication it works fine, so I know my login and password are ok. With SetAuthentication() set to keyboard interactive though, when the Connected event fires it is passed in an error code of 30016 (Invalid username or password reported by server...). Do you know of any reasons the LoginChallenge event might not get fired. I am testing against 2 different SSH servers I set up (OpenSSH and WinSSHD) and can login using keyboard interactive authentication through a Putty client.

Thanks,

Jeff


Complete thread: