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 ------------------------------------------------------------------------------ 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://ad.doubleclick.net/clk;226879339;13503038;l? http://clk.atdmt.com/CRS/go/247765532/direct/01/ _______________________________________________ JSch-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jsch-users
