[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [dsdp-tm-dev] My first cautious steps with RSE M2
|
Hello Atsuhiko,
you were right, SuSE 10.0 does keyboard-interactive authentication by
default.
I've added the necessary code to SshConnectorService.java.
I very much appreciate your looking at the code, if you have any more
suggestions
based on your experiences that would be great -- most of my code was
just based
on what I found in org.eclipse.team.cvs.ssh2 and team.cvs.ui.
Norbert -- if you had indeed a problem with ssh in RSE, please retry
with CVS HEAD.
Thanks,
Martin
Atsuhiko Yamanaka schrieb:
Hi there,
+-From: "Ploett, Norbert" <norbert.ploett@xxxxxxxxxxx> --
|_Date: Mon, 29 May 2006 09:30:27 +0200 _________________
|
|Hi all,
|I just had my first try with the newly published RSE. Here is my setup:
|- eclipse 3.2 RC5
|- RSE-SDK-1.0M2
|for the host,
|SuSE Linux 10.0, java 1.4.2 for the target.
...
|Then I created a new connection. When I say "Connect" I get prompted for
|the password. I tried the root and a user account, but in both cases I
|get an "Auth error" due to a mysterious unexpected exception. (4 entries
|in the log get created. The log entries are posted below.)
...
|===============Log file entries=======================
|Error
|Mon May 29 09:20:09 CEST 2006
|Auth fail
|com.jcraft.jsch.JSchException: Auth fail
| at com.jcraft.jsch.Session.connect(Unknown Source)
| at com.jcraft.jsch.Session.connect(Unknown Source)
I think that the reason for this 'Auth fail' exception has come from
a lack of the implementation of the interface
'com.jcraft.jsch.UIKeyboardInteractive' for 'MyUserInfo' class defined in
org.eclipse.rse.connectorservice.ssh.SshConnectorService.java
I guess his OpenSSH's sshd is configured to use PAM for password authentication
and, on such a config, sshd will use keyboard-interactive authentication
method. If you are not familiar with UIKeyboardInteractive interface,
refer to an example[1] included in jsch distribution.
[1] http://www.jcraft.com/jsch/examples/UserAuthKI.java
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/
_______________________________________________
dsdp-tm-dev mailing list
dsdp-tm-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/dsdp-tm-dev