Re: Request a password only if needed (General questions)
Hi Drazen,
Thanks for your reply.
The code I have is this:
[code] SSH client = new SSH();
client.ConnectedEvent += new SSH.ConnectedDelegate(client_ConnectedEvent);
client.CryptoInformationEvent += new SSH.CryptoInformationDelegate(client_CryptoInformationEvent);
client.DataReceivedEvent += new SSH.DataReceivedDelegate(client_DataReceivedEvent);
client.FingerPrintEvent += new SSH.FingerPrintDelegate(client_FingerPrintEvent);
client.LoginChallengeEvent += new SSH.LoginChallengeDelegate(client_LoginChallengeEvent);
client.Protocol = SSH.SupportedProtocols.SSHAuto;
client.Authentication = SSH.Authentications.KeyboardInteractive;
client.Connect( 10.100.100.1 );
[/code]
The client_FingerPrintEvent gets fired first, and then client_CryptoInformationEvent and finally client_ConnectedEvent with an error: Server returned the error: Invalid password!
Meaning the LoginChallenge is never called.
The server is actually a Cisco 7200, with ssh enabled (RSA)
Complete thread:
- Request a password only if needed - Marian, 2010-04-29, 16:14
- Re: Request a password only if needed - woddrazen, 2010-04-29, 17:02
- Re: Request a password only if needed - Marian, 2010-04-29, 17:26
- Re: Request a password only if needed - woddrazen, 2010-04-29, 19:22
- Re: Request a password only if needed - Marian, 2010-04-29, 22:37
- Re: Request a password only if needed - woddrazen, 2010-04-29, 23:55
- Re: Request a password only if needed - Marian, 2010-04-30, 08:19
- Re: Request a password only if needed - woddrazen, 2010-04-29, 23:55
- Re: Request a password only if needed - Marian, 2010-04-29, 22:37
- Re: Request a password only if needed - woddrazen, 2010-04-29, 19:22
- Re: Request a password only if needed - Marian, 2010-04-29, 17:26
- Re: Request a password only if needed - woddrazen, 2010-04-29, 17:02