Hi Atsuhiko,
it turns out someone changed the password and did not tell me. all is
working well now.
thank you.
On Mon, Jun 14, 2010 at 12:44 AM, Atsuhiko Yamanaka <[email protected]> wrote:
> Hi,
>
> +-From: Ehud Kaldor <[email protected]> --
> |_Date: Fri, 11 Jun 2010 21:34:29 -0700 ______
> |
> |i am trying to connect, and getting the following exception:
> |com.jcraft.jsch.JSchException: Auth cancel
> | at com.jcraft.jsch.Session.connect(Session.java:451)
> | at com.jcraft.jsch.Session.connect(Session.java:150)
> ...
>
> | JSch jsch = new JSch();
> | log.debug("jsch created");
> | session = jsch.getSession(userInfo.getUsername(),
> |ip.getIpString(), Tweaks.getInt("network.port.ssh"));
> | log.debug("session acquired from jsch");
> | session.setUserInfo(userInfo);
>
> How about the definition of userInfo?
> I guess that the keyboard-interactive auth method is expected
> on the remote. If so, userInfo must implement
> com.jcraft.jsch.UIKeyboardInteractive interface.
>
>
> 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
> Skype callto://jcraft/
> Twitter: @ymnk
>
------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the
lucky parental unit. See the prize list and enter to win:
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
JSch-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jsch-users