Use alternate identity file for svn access with ssh
Snippet
Instead of being asleep at 21:30 on 23 September 2009, kitt created this:
If you need a different identity file for ssh access when using svn (say, using your personal computer on a work project and need to keep the two identities separate when accessing a personal remote server), define the SVN_SSH shell variable to use the different identity file.
To specify a different identity file with ssh, use -i:
ssh -i /path/to/id_rsa
And define the SVN_SSH var.
export SVN_SSH="ssh -i /path/to/identity/file"
Add new comment