Re: Request a password only if needed - WeOnlyDo Discussion board

Re: Request a password only if needed (General questions)

by woddrazen, Thursday, April 29, 2010, 19:22 (5321 days ago) @ Marian

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: