CVS Connection Cannot Be Made

Symptoms

The following error is thrown when trying to connect to a CVS repository:

2007-09-12 14:54:31,403 http-8080-Processor21 ERROR [action.admin.vcs.AddRepository] Error authenticating with the repository: Could not open ssh connection. Please see underlying error message.
org.netbeans.lib.cvsclient.connection.AuthenticationException: Could not open ssh connection. Please see underlying error message.
...
Caused by:
com.jcraft.jsch.JSchException: Auth fail
	at com.jcraft.jsch.Session.connect(Unknown Source)
	at com.jcraft.jsch.Session.connect(Unknown Source)

Cause

The CVS server needs authentication to be able to connect.

Resolution

Examine the follow file on the CVS server:

/ect/ssh/sshd_config

The PasswordAuthentication option should be uncommented and set to yes if authentication is required.

Last modified on Mar 30, 2016

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.