Skip to main content

[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

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/



Back to the top