Re: keyboard-interactive authentication (General questions)
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:
- keyboard-interactive authentication - Jeff, 2005-12-16, 21:16
- Re: keyboard-interactive authentication - wodSupport, 2005-12-16, 21:20
- Re: keyboard-interactive authentication - Jeff, 2005-12-28, 19:11
- Re: keyboard-interactive authentication - wodSupport, 2005-12-28, 23:35
- Re: keyboard-interactive authentication - Jeff, 2005-12-29, 22:54
- Re: keyboard-interactive authentication - wodSupport, 2005-12-28, 23:35
- Re: keyboard-interactive authentication - Jeff, 2005-12-28, 19:11
- Re: keyboard-interactive authentication - wodSupport, 2005-12-16, 21:20