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

Environment variables in .subversion/config

From: Mattius McLaughlin <Mattius_McLaughlin_at_pmc-sierra.com>
Date: Fri, 08 Jun 2012 14:35:58 -0700

Hi,

   I'd like to use a shared config file for multiple users, but I'm in a
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

   but svn cannot expand environment variables (or ~) from this file.

Warning: Identity file $HOME/.ssh/ssh-identity not accessible: No such
file or directory.
svn: To better debug SSH connection problems, remove the -q option from
'ssh' in the [tunnels] section of your Subversion configuration file.
svn: Network connection closed unexpectedly

   It would seem I can only have lines like

[tunnels]
ssh = $SVN_SSH ssh -q -i /home/user1/.ssh/ssh-identity

   which prevents a shared config.

   Has anyone run across this before? How did you get around this?

Thanks
--Mattius McLaughlin
Received on 2012-06-08 23:36:35 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.