subversion-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mattius McLaughlin <Mattius_McLaugh...@pmc-sierra.com>
Subject Re: Environment variables in .subversion/config
Date Mon, 11 Jun 2012 17:11:48 GMT
On 06/08/12 23:18, Daniel Shahaf wrote:
> 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

This works nicely, thank you.  I tried both $HOME and ~, but the client 
doesn't resolve either.



Mime
View raw message