svn+ssh with private key in #3200?

Hi,

I'm trying to use the svn plugin in svn+ssh mode using a private key. It seems this is not yet supported. However as the plugin seems to be using JSch under the hood, I thought that adding the following system property in idea.bat would make it work:

-Djavasvn.ssh2.key=/path/to/my/private/key

Sadly it does not seem to help and I still get a "Auth fail" message. That's probably because the plugin must be forcing Jsch to use username/pwd credentials (even though I have left the username blank).

Could you please confirm there's no way I can get it work as is?

Thanks
-Vincent

6 comments
Comment actions Permalink

Actually, it does work. I was just using a putty private key which is not accepted by jsch. By using puttygen I was able to generate a private key in openssh format. I was also not setting the username which is required.

For those intersted make sure you have javasvn 0.8 or later as there is a hack inside to support the javasvn.ssh2.key system property... (done for subclipse but which comes handy here ;)).

Thanks
-Vincent

0
Comment actions Permalink

Hi Vincent

Thanks for that Think Tank there. But I still can't get the svn+ssh to work using javasvn 0.8.3 and i can't get hold of 0.8.0

The message that I get is "Cannot checkout from svn: com.jcraft.jsch.JSchException: Auth fail" and I am never prompted for the private key password

I am using Idea build# 3229.

Your input is much appreciated.

Regards

-daya

0
Comment actions Permalink

On Sat, 26 Feb 2005 19:33:43 +0300, Daya Sharma wrote:

The message that I get is "Cannot checkout from svn:
com.jcraft.jsch.JSchException: Auth fail" and I am never prompted for the
private key password


I had that as well with the latest EAP. Unfortunately, IDEA also
corrupted my repository checkout as well :(

It somewhat buggered up the the files in the .svn/text-base directory :(

0
Comment actions Permalink

I guess JetBrains guys are not interested in properly integrating SVN into IDEA specially using SSH. I mean if you look at the forums SVN problems have been reported since 2002 and not ever even once has it been resolved to satisfaction. I mean look at CVS, Star Team their integration is so mature.

-daya

0
Comment actions Permalink

On Sat, 26 Feb 2005 21:09:03 +0300, Daya Sharma wrote:

to satisfaction. I mean look at CVS, Star Team their integration is so
mature.


Well EAP is still in early stages, and they have said that they've not
hitting the SVN issues too much yet. Hopefully they'll come shortly thou.

0

Please sign in to leave a comment.