Re: Request a password only if needed (General questions)
Marian,
Probably you server is using keyboard interactive authentication.
If you would like to use interactive session in wodSSH.NET you should select KeyboardInteractive authentication in wodSSH.NET Authentication Property.
When KeyboardInteractive is selected LoginChallenge Event should be fired. Inside LoginChallenge Event server will send some challenge text, you must reply with the correct responses to successfully authenticate.
You can do that using Args.Prompt which should be used to receive challenge prompt requested by the server. Using Args.Response you can send your response to server challenge prompt.
Let us know how it goes.
Drazen
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