This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 76719 - svn:ssh:// not using supplied username/password
Summary: svn:ssh:// not using supplied username/password
Status: RESOLVED INVALID
Alias: None
Product: versioncontrol
Classification: Unclassified
Component: Subversion (show other bugs)
Version: 5.x
Hardware: Sun Solaris
: P2 blocker (vote)
Assignee: issues@versioncontrol
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-05-23 07:14 UTC by jhowk
Modified: 2006-05-26 15:57 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description jhowk 2006-05-23 07:14:45 UTC
Attempting to checkout repository using svn+ssh and am unable to log in.  My
server logs show:

May 23 06:01:50 subaquatic sshd[30618]: Failed password for jhowk from
::ffff:67.177.251.128 port 35232 ssh2

The issue is that I am providing the user of "subversion" in the Checkout dialog
and not "jhowk". Falling back to svn:// works properly.  Also, this repository
has been successfully be connected to with svn+ssh by intellij.  

Associated stack trace:
*********** Exception occurred ************ at 12:13 AM on May 23, 2006
Annotation: SVN command returned with the following error:
org.tigris.subversion.svnclientadapter.commandline.CmdLineException: Permission
denied, please try again.
Permission denied, please try again.
Permission denied (publickey,password,keyboard-interactive).
svn: Connection closed unexpectedly

org.tigris.subversion.svnclientadapter.SVNClientException:
org.tigris.subversion.svnclientadapter.commandline.CmdLineException: Permission
denied, please try again.
Permission denied, please try again.
Permission denied (publickey,password,keyboard-interactive).
svn: Connection closed unexpectedly
        at
org.tigris.subversion.svnclientadapter.SVNClientException.wrapException(SVNClientException.java:69)
        at
org.tigris.subversion.svnclientadapter.commandline.CmdLineClientAdapter.getInfo(CmdLineClientAdapter.java:1305)
        at
org.tigris.subversion.svnclientadapter.commandline.CmdLineClientAdapter.getInfo(CmdLineClientAdapter.java:1289)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
[catch] at
org.netbeans.modules.subversion.client.SvnClientInvocationHandler.invokeMethod(SvnClientInvocationHandler.java:156)
        at
org.netbeans.modules.subversion.client.SvnClientInvocationHandler.invoke(SvnClientInvocationHandler.java:107)
        at $Proxy11.getInfo(Unknown Source)
        at
org.netbeans.modules.subversion.ui.wizards.repositorystep.RepositoryStep$RepositoryStepProgressSupport.perform(RepositoryStep.java:180)
        at
org.netbeans.modules.subversion.client.SvnProgressSupport.performIntern(SvnProgressSupport.java:54)
        at
org.netbeans.modules.subversion.client.WizardStepProgressSupport.performInCurrentThread(WizardStepProgressSupport.java:45)
        at
org.netbeans.modules.subversion.ui.wizards.repositorystep.RepositoryStep.validateBeforeNext(RepositoryStep.java:93)
        at
org.netbeans.modules.subversion.ui.wizards.AbstractStep.validate(AbstractStep.java:123)
        at org.openide.WizardDescriptor$5.run(WizardDescriptor.java:1113)
        at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:493)
       at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:926)
Caused by: org.tigris.subversion.svnclientadapter.commandline.CmdLineException:
Permission denied, please try again.
Permission denied, please try again.
Permission denied (publickey,password,keyboard-interactive).
svn: Connection closed unexpectedly
        at
org.tigris.subversion.svnclientadapter.commandline.CommandLine.execString(CommandLine.java:165)
        at
org.tigris.subversion.svnclientadapter.commandline.SvnCommandLine.info(SvnCommandLine.java:423)
        at
org.tigris.subversion.svnclientadapter.commandline.CmdLineClientAdapter.getInfo(CmdLineClientAdapter.java:1302)
        ... 16 more
Comment 1 Peter Pis 2006-05-23 08:19:08 UTC
Currently in case of "svn+ssh" connection, subversion "config" file should be
correctly setup.

*  On Unixes it's ~/.subversion/config, locate tunnels section and define for
example "ssh = ssh -l pvcs -i UserPrivateKey" 

* On Windows Application Data\Subversion\config, locate tunnels section and
define for example "ssh = plink.exe -l username -pw password"
Comment 2 Tomas Stupka 2006-05-26 13:30:32 UTC
wrong configuraton 

closing
Comment 3 jhowk 2006-05-26 15:57:46 UTC
Can you explain why it's a "wrong configuration"?  Even if I re-define the SSH
tunnel from it's default e.g. SSH = ssh -p 22222, it still won't use the
username and password's supplied in the dialog.

Confused...