Hi,

   +-From: "Shaik Shahnaz" <[EMAIL PROTECTED]> --
   |_Date: Thu, 16 Oct 2008 23:03:52 -0400 ____________
   |
   |So the question is why is jsch looking for this setting? And how can I
   |disable this in the code? Interestingly, restarting or redeploying of the
   |service is not having any effect on this. Its still broken.

I cann't find the reason for such a problem after the system rebuilding,
but the following code will work around that problem,

  ...
  session.setConfig("PreferredAuthentications", 
                    "publickey,keyboard-interactive,password");
  session.connect();
  ...


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