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

Re: Environment variables in .subversion/config

From: Daniel Shahaf <d.s_at_daniel.shahaf.name>
Date: Sat, 9 Jun 2012 09:18:26 +0300

Mattius McLaughlin wrote on Fri, Jun 08, 2012 at 14:35:58 -0700:
> bit of a bind when it comes to ssh identity files. I'd like to have a
> line like
>
> [tunnels]
> ssh = $SVN_SSH ssh -q -i $HOME/.ssh/ssh-identity
>
> It would seem I can only have lines like
>
> [tunnels]
> ssh = $SVN_SSH ssh -q -i /home/user1/.ssh/ssh-identity

Untested, but:

        [tunnels]
        ssh = $SVN_SSH sh -c 'ssh -q -i $HOME/.ssh/ssh-identity "$@"' -s

or perhaps leave ~/.subversion/config untouched and use the following in
~/.ssh/config:

        Host *
                IdentityFile ~/.ssh/ssh-identity

> Thanks
> --Mattius McLaughlin
>
Received on 2012-06-09 08:19:11 CEST

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.