Hello, On Wed, Mar 12, 2008 at 2:06 AM, Atsuhiko Yamanaka <[EMAIL PROTECTED]> wrote: > Hi, > > +-From: "pafau k" <[EMAIL PROTECTED]> -- > |_Date: Tue, 11 Mar 2008 15:21:30 +0100 __ > | > |Logger's output follows: > ... > > |INFO: Authentications that can continue: > publickey,keyboard-interactive,password > |INFO: Next authentication method: publickey > |INFO: Authentications that can continue: password > |INFO: Next authentication method: password > |INFO: Authentication succeeded (password). > > It seems that you have not encountered the problem you had > reported in the previous message.
Eh, stupid, stupid me. On the good server: INFO: Authentications that can continue: publickey,keyboard-interactive,password INFO: Next authentication method: publickey INFO: Authentications that can continue: keyboard-interactive,password INFO: Next authentication method: keyboard-interactive =========================================== INFO: Authentication succeeded (keyboard-interactive). =========================================== On the bad one: INFO: Authentications that can continue: publickey,keyboard-interactive,password INFO: Next authentication method: publickey INFO: Authentications that can continue: password INFO: Next authentication method: password =========================================== INFO: Authentication succeeded (password). =========================================== Well, now that i fixed MY error, it works (as above). The problem was in botched implementation of UserInfo - promptPassowrd(String msg) consisted of [return false] instead of [return true]. First server connection succeeded, because it used properly implemented keyboard-interactive method. And to tell the truth, no method of my UserInfo is interactive, since it will be run in a server environment, using stored passwords. So the error was hard for me to find, since i assumed, that UserInfo is so trivial, that i couldn't probably have erred at that place. Never to late to reconsider your ego problems :) Sorry for bothering you with my stupidity, but the logger class really helped, thanks! cheers pafau k. ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ JSch-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jsch-users
