Subclipse + SVNKit continues to request credentials when connecting via svn + ssh

I use Subclipse to connect to the SVN repository via svn + ssh and the private key (the server has a pair public key). SVNKit interface (Pure Java). After entering the address svn + ssh: // repository ... I will be asked to enter the credentials. I indicate the username and private key file (I did not set a passphrase so that it remains empty) and confirm. The window appears again, and it continues indefinitely. No console message provided.

Note 1: The mark “Save information” does not seem to have an effect. If there is a cache that I have to delete, this may help. I already deleted the keyring file in eclipse.

Note 2: I was not sure that the private key should be in SSH2 or OpenSSH formats, but I tried both options, and there is no difference.

Note 3: I cannot find the org.tmatesoft.svn folder under the plugins in eclipse. I installed SVNKit from the eclipse update site http://eclipse.svnkit.com/1.7.x .

Technical specifications: Windows 7 64 bit, eclipse 4.2.1 64 bit, Subheading 1.8.16, Client adapter Subversion 1.8.3, Client adapter SVNKit 1.7.5.1.

If there is any other information or a log file that I must provide, I would be happy to do so.

+6
source share
4 answers

In the end, it turned out that there was a problem with them. It was encrypted by DSA instead of RSA, and the server was not configured for it.

Why didn’t I get a message that a couple of bad keys are outside of me, but with the correct key with which it worked.

+2
source

I had a similar problem and found out that I was trying to use the private key created by puttygen, but SVNKit needs OpenSSH ke y.

My solution was:

  • Launch the PuTTY key generator.
  • Download Private Key
  • Conversions \ Export OpenSSH Key
  • Select openSSH Key in Eclipse
+4
source

1- in Window => SVN Settings (or team => svn depending on your version) make sure you select the library available on your system ... for example, SVNKIT (Pure Java) .... instead of JAvaHL ... which is often lacking

2- in Window => Preferences, find "Secure Storage" and set the master password (usually by clicking on Change Passowrd ...). This is not your SVN password, but for some reason I ignore if this master password is not set, Eclipse will not be able to save and restore your SVN password when you click the save password.

+1
source

I would not worry about Note 3. If you open the Eclipse settings and go to Team> SVN and you can select SVNKit, then it will be installed and available. On my system, this is the JAR in the plugins folder.

SVNKit is responsible for the SSH process, so you can visit their forums and email support@svnkit.com information and ideas.

My recollection is that they usually cache information throughout an Eclipse session, so they are not sure what is going on. If you continue to answer all inquiries, does everything work? If not, maybe you will be asked because it cannot successfully use your credentials?

They have a Troubleshooting section on their wiki: http://wiki.svnkit.com/Troubleshooting

-2
source

All Articles