Thank you! That worked. 

Best regards. 

--- cllee

--

Chia-Ling LEE
IT Risk
UBS AG, Stamford Branch
400 Atlantic St, Stamford, CT 06901
Tel:      +1-(203)719-3486 
E-mail:   chia-ling....@ubs.com
Internet: www.ubs.com

-----Original Message-----
From: Atsuhiko Yamanaka [mailto:y...@jcraft.com] 
Sent: Wednesday, April 11, 2012 1:17 AM
To: Lee, Chia-Ling
Cc: jsch-users@lists.sourceforge.net
Subject: Re: [JSch-users] ANNOUNCE: JSch 0.1.47

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
Visit our website at http://www.ubs.com

This message contains confidential information and is intended only 
for the individual named.  If you are not the named addressee you 
should not disseminate, distribute or copy this e-mail.  Please 
notify the sender immediately by e-mail if you have received this 
e-mail by mistake and delete this e-mail from your system.
        
E-mails are not encrypted and cannot be guaranteed to be secure or 
error-free as information could be intercepted, corrupted, lost, 
destroyed, arrive late or incomplete, or contain viruses.  The sender 
therefore does not accept liability for any errors or omissions in the 
contents of this message which arise as a result of e-mail transmission.  
If verification is required please request a hard-copy version.  This 
message is provided for informational purposes and should not be 
construed as a solicitation or offer to buy or sell any securities 
or related financial instruments.

 
UBS reserves the right to retain all messages. Messages are protected
and accessed only in legally justified cases.

------------------------------------------------------------------------------
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