Use alternate identity file for svn access with ssh
Snippet
Written with a loving hand by kitt some time around 21:30 on 23 September 2009
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