Re: [JSch-users] ANNOUNCE: JSch 0.1.47
Status: Alpha
Brought to you by:
ymnk
|
From: <ym...@jc...> - 2012-04-11 05:17:18
|
Hi,
+-From: <chi...@ub...> --
|_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
|