Re: per-repository SVN_SSH?
* Jules Colding (email@example.com) [070608 06:46]:
> 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
> 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
> 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.
Another option is to set up an ssh host in your ~/.ssh/config and check
out from there:
svn co svn+ssh://mysvnalias/...
Of course, using ssh-agent as Thomas suggested is a better idea than
using a passphrase-less key in the first place.
"As we enjoy great advantages from inventions of others, we should be glad
of an opportunity to serve others by any invention of ours; and this we
should do freely and generously." --Benjamin Franklin
Received on Tue Jun 12 03:03:21 2007
This is an archived mail posted to the Subversion Users