Hi,

   +-From: <chia-ling....@ubs.com> --
   |_Date: Tue, 10 Apr 2012 16:41:45 -0400 __
   |
   |Dear Yamanaka-san,  
   |I have a weird experience that I was wondering whether you might have
   |some hints on what to look for.
   ... 
   |Linux and Solaris 8. All my tests ran fine *except* for 1.7.0; when my
   |tests run on 1.7.0, I get a prompt for Kerberos username and password,
   |and it does not matter what I type - my user ID, someone else's user ID,
   |empty user ID, empty password, someone else's password, my password, or
   |any combination of user name and password - wrong password, wrong user
   |ID it does not matter
   ...

How about re-setting "PreferredAuthentications" ?

   Session session=jsch.getSession(user, host, 22);
   ...
   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
Skype callto://jcraft/
Twitter: http://twitter.com/ymnk
Facebook: http://facebook.com/aymnk

------------------------------------------------------------------------------
Better than sec? Nothing is better than sec when it comes to
monitoring Big Data applications. Try Boundary one-second 
resolution app monitoring today. Free.
http://p.sf.net/sfu/Boundary-dev2dev
_______________________________________________
JSch-users mailing list
JSch-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jsch-users

Reply via email to