Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 181014 - SSH - connect, disconnect, connect, ... may give authorization error
Summary: SSH - connect, disconnect, connect, ... may give authorization error
Status: RESOLVED WORKSFORME
Alias: None
Product: Target Management
Classification: Tools
Component: RSE (show other bugs)
Version: 2.0   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: 2.0   Edit
Assignee: Martin Oberhuber CLA
QA Contact: Martin Oberhuber CLA
URL:
Whiteboard:
Keywords:
Depends on: 165432
Blocks:
  Show dependency tree
 
Reported: 2007-04-04 14:04 EDT by David Dykstal CLA
Modified: 2008-08-13 13:20 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Dykstal CLA 2007-04-04 14:04:09 EDT
Explicitly connect to an SSH host that has had its userid/password saved. Connection succeeds with no prompting. Disconnect and immediately attempt a connect again. (May have to do this several times). Receive an error indicating a connection failure.

Repeated attempts will eventually succeed.

Here is the PDE Error Log:

eclipse.buildId=I20070323-1616
java.version=1.5.0_07
java.vendor=Apple Computer, Inc.
BootLoader constants: OS=macosx, ARCH=x86, WS=carbon, NL=en_US
Framework arguments:  -startup /Users/david/Data/Work/test/eclipse/Eclipse.app/Contents/MacOS/../../../plugins/org.eclipse.equinox.launcher_1.0.0.v20070319.jar -keyring /Users/david/.eclipse_keyring -showlocation
Command-line arguments:  -os macosx -ws carbon -arch x86 -startup /Users/david/Data/Work/test/eclipse/Eclipse.app/Contents/MacOS/../../../plugins/org.eclipse.equinox.launcher_1.0.0.v20070319.jar -keyring /Users/david/.eclipse_keyring -consoleLog -showlocation

Error
Wed Apr 04 12:49:25 CDT 2007
USERAUTH fail (3)

com.jcraft.jsch.JSchException: USERAUTH fail (3)
at com.jcraft.jsch.UserAuthNone.start(Unknown Source)
at com.jcraft.jsch.Session.connect(Unknown Source)
at org.eclipse.rse.internal.connectorservice.ssh.SshConnectorService.internalConnect(SshConnectorService.java:311)
at org.eclipse.rse.core.subsystems.AbstractConnectorService.connect(AbstractConnectorService.java:413)
at org.eclipse.rse.core.subsystems.SubSystem.internalConnect(SubSystem.java:2694)
at org.eclipse.rse.core.subsystems.SubSystem.implicitConnect(SubSystem.java:1695)
at org.eclipse.rse.core.subsystems.SubSystem$ConnectJob.performOperation(SubSystem.java:1595)
at org.eclipse.rse.core.subsystems.SubSystem$SubSystemOperationJob.run(SubSystem.java:1280)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:58)



-----------Enter bugs above this line-----------
RSE 2.0M6 Testing
installation: eclipse-platform-3.3M6
RSE install: RSE-SDK-I20070404-0600
java.runtime: Sun 1.5.0_07-164
os.arch: ppc
os.name: Mac OS X 10.4.9
------------------------------------------------
systemtype   : Unix-ssh, Unix-dstore, Unix-ftp
targetos     : Mac OS X 10.4.9
targetvm     : Sun 1.5.0_07-164
------------------------------------------------
Comment 1 Martin Oberhuber CLA 2007-04-04 14:48:17 EDT
Hm... looks like the remote side doesn't let us authenticate, so there is not much we can do. We should re-test this once Jsch-0.1.31 is integrated (bug 165432).
Comment 2 Martin Oberhuber CLA 2007-05-11 13:01:22 EDT
Moving to later milestone since jsch-0.1.31 is not yet available.
Comment 3 Martin Oberhuber CLA 2007-05-28 00:36:16 EDT
Platform won't get jsch-0.1.31 before RC3
Comment 4 Martin Oberhuber CLA 2007-06-12 08:04:27 EDT
Upgraded to Platform RC3 (with jsch 0.1.31) and not seen this again.
Please reopen if it happens again.
Comment 5 Martin Oberhuber CLA 2008-08-13 13:20:59 EDT
[target cleanup] 2.0 RC3 was the original target milestone for this bug