Hi,

   +-From: Ivan Soleimanipour <[EMAIL PROTECTED]> --
   |_Date: Sat, 15 Nov 2008 17:54:28 -0800 __________________
   |
   |Is this a bug or by design?

By design.

   |Session.connect() goes through a series of authorisation methods.
   |By default this includes
   |gssapi-keyex,gssapi-with-mic,publickey,password,keyboard-interactive
   |connect() first calls out to promptKeyboardInteractive().

You can change the order.

   session.setConfig("PreferredAuthentications",
                     "publickey,password,keyboard-interactive");
   session.connect();
 
   |If I cancel it it goes around the loop and calls out promptPassword()!
   |Shouldn't cancellation short-circuit the auth loop?

You can skip it by yourself with your own UserInfo implementation, can't you?


Sincerely,
--
Atsuhiko Yamanaka
JCraft,Inc.
1-14-20 HONCHO AOBA-KU,
SENDAI, MIYAGI 980-0014 Japan.
Tel +81-22-723-2150
    +1-415-578-3454
Fax +81-22-224-8773
Skype callto://jcraft/

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
JSch-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jsch-users

Reply via email to