[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Can I authenticate to Subversion using ssh?

From: Mark Phippard <markphip_at_gmail.com>
Date: Tue, 19 Jan 2021 12:45:20 -0500

On Tue, Jan 19, 2021 at 12:39 PM David Aldrich <david.aldrich.ntml_at_gmail.com>
wrote:

> Hi Daniel
>
> Thanks for your reply. I've had a look at the Subversion book and done
> some Googling. It isn't easy to know how to configure svn on the server for
> ssh.
>
> We use the Collabnet Edge distribution of Subversion, which we believe only
> supports http/https - not svnserve.
>

Correct. SVN Edge does not support svnserve or SSH. That said, I
believe the svnserve binary is included. So if you want to use it, then it
would be up to you to configure everything for it. Might be easier to just
look for another way to inject a secret into your script. I think, as an
example, there are Jenkins plugins that can take a secure Jenkins
credential and set them as environment variable for the job. So your script
could get the password from an environment variable.

As with everything Jenkins there is probably more than one way to do this,
but here is one I have used:

https://plugins.jenkins.io/credentials-binding/

Mark
Received on 2021-01-19 18:45:47 CET

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.