On Tue, Jul 27, 2010 at 11:00 PM, Bradley Wagner
<[email protected]> wrote:
> On Tue, Jul 27, 2010 at 10:40 PM, Atsuhiko Yamanaka <[email protected]> wrote:
>> Hi,
>>
>>   +-From: Bradley Wagner <[email protected]> --
>>   |_Date: Tue, 27 Jul 2010 22:24:34 -0400 _________________
>>   |
>>    >> I guess that you had logged-in with keyboard-interactive auth
>>    >> method with other ssh clients. �,A If so and you don't want to
>>    >> implement the com.jcraft.jsh.UIKeyboardInteractive interface ,
>>    >> try jsch-0.1.43 .
>>   |How would this affect authentication being done with JSch? Also,
>>   |what has changed in jsch-0.1.43 to affect this?
>>
>> Since 0.1.43, the password given by Session#setPassword() will be
>> tried for keyboard-interactive auth method if Session#setUserInfo()
>> is not invoked.
>
> I was wondering about Session#setUserInfo. What's the advantage of
> using UserInfo over to just setting the password field? Will using
> this instruct the server to connect with the password auth method
> first?
>
> To give you some background, we're coming from j2ssh where there was a
> clear notion of which auth method the client would suggest to the
> server depending on the type

I did some research on this and it definitely appears that the SSH
protocol supports clients suggesting/requesting which auth method to
use when connecting. j2ssh used to use to do this for us. Does JSch
allow us to something similar? I believe j2ssh used the message id 50
which it called SSH_MSG_USERAUTH_REQUEST.

Would it also be possible to get some documentation on UserInfo
interface and it's methods. I'm not clear about what they all do. John
Stote did provide me some implementation examples.

------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
_______________________________________________
JSch-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jsch-users

Reply via email to