This is not expected, if you didn't confuse credentials, the code should work. That's strange because other SVNKit users have no problem when accessing repositories via svn+ssh.
You said that SVNKit comand line keeps asking you for credentials. Do you mean that you run "jsvn", it asks you for credentials, then the command succeeds, and it asks you for credentials again only when you run "jsvn" the next time or do you mean that the command doesn't succeed at all and it just asks and asks for credentials? The latter case usually means that credentials were just wrong. Did you try to connect with these credentials using native Subversion? Does it ever succeed? If the command succeeds and just doesn't cache credentials between subsequent call, do you have a possibility to setup a test account with a test repository on that server and test credentials in order to let me reproduce the problem myself? -- Dmitry Pavlenko, TMate Software, http://subgit.com/ - git-svn bridge > Alright, it's getting somewhere. I added the required jar and now when I > run the code I get the console message: > > org.tmatesoft.svn.core.SVNAuthenticationException: svn: E170001: > Authentication required for 'svn+ssh://servername' > at > org.tmatesoft.svn.core.internal.wc.SVNErrorManager.authenticationFailed(SVN > ErrorManager.java:47) at > org.tmatesoft.svn.core.internal.wc.SVNErrorManager.authenticationFailed(SVN > ErrorManager.java:41) at > org.tmatesoft.svn.core.internal.wc.DefaultSVNAuthenticationManager.getNextA > uthentication(DefaultSVNAuthenticationManager.java:218) at > org.tmatesoft.svn.core.internal.io.svn.SVNSSHConnector.open(SVNSSHConnector > .java:147) at > org.tmatesoft.svn.core.internal.io.svn.SVNConnection.open(SVNConnection.jav > a:77) at > org.tmatesoft.svn.core.internal.io.svn.SVNRepositoryImpl.openConnection(SVN > RepositoryImpl.java:1252) at > org.tmatesoft.svn.core.internal.io.svn.SVNRepositoryImpl.testConnection(SVN > RepositoryImpl.java:95) at svn.Access.main(Access.java:35) > > ------ > > I provided the authentication info (username, private key) in the > authentication manager as can be seen in the code. Now what? > > > > -- > View this message in context: > http://subversion.1072662.n5.nabble.com/Subclipse-SVNKit-keeps-asking-for- > credentials-when-connecting-through-svn-ssh-tp175567p175677.html Sent from > the SVNKit - Users mailing list archive at Nabble.com.