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

Re: per-repository SVN_SSH?

From: Thomas Harold <tgh_at_tgharold.com>
Date: 2007-06-09 05:12:27 CEST

Jules Colding wrote:
> I have a few repositories from gnome checked out and a few of my own. My
> problem is that I'm using different identities for these repositories.
> My default public key (with passphrase) is used when accessing gnome
> repositories but my other public key (no passphrase) is used for my own
> repositories.
>
> My SVN_SSH environment variable (in linux) does therefore looks like:
>
> export SVN_SSH="ssh -i $HOME/.ssh/no_passphrase_id_rsa"
>
> if I'm working with my own repositories while it is unset for the gnome
> repositories.
>
> It would therefore be a lot more convenient if there was a way to tell
> svn to use the above SVN_SSH for my own repositories but not for the
> gnome repositories.

It *should* be possible... I'm not entirely familiar with that
environment. But what happens if you don't use the SVN_SSH variable at
all and just load both keys into the SSH agent? I'm wondering if the
SSH agent will then try either key until one works?

(Playing with the SSH agent in Linux is something that I haven't gotten
around to yet. So that may be a false lead.)

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sat Jun 9 11:53:11 2007

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.