English 中文(简体)
使用非缺省钥匙,用vn+ssh
原标题:use non default ssh key with svn+ssh
  • 时间:2011-08-31 16:53:13
  •  标签:
  • svn
  • ssh

我有一套内容需要根基的文字。 设置的部分为<代码>vn+ssh。 检查(这并不需要根基,但仍然是根基)。 我有特殊用户,我确定了关键因素,如操作时不需要密码和自动化工程。 然而,自其作为不同用户运行以来,svn+ssh 寻找钥匙的错误地点。

我知道有点——即允许我具体说明使用的关键档案。 是否有办法出售猪又sh这样做?

最佳回答

您可以任意使用programs,而不是ssh。 在<代码>config文档中添加以下内容(/.subversion/config):

[tunnels]
ssh-otheruser = ssh -i /home/otheruser/.ssh/id_rsa

然后,你可以检查。

svn co svn+ssh-otheruser://...
问题回答

这一工作

SVN_SSH="ssh -i /home/otheruser/.ssh/id_rsa" svn co svn+ssh://otheruser@your_svn_url




相关问题
Best practices for Subversion and Visual Studio projects

I ve recently started working on various C# projects in Visual Studio as part of a plan for a large scale system that will be used to replace our current system that s built from a cobbling-together ...

Changing username in SVN+SSH URI on the fly in working copy

I am using SVN+SSH to check out a working copy of repository from an SVN server on which all developers are members of a developer group and have full read/write permissions on the repository ...

ASP.NET MVC: How should it work with subversion?

So, I have an asp.net mvc app that is being worked on by multiple developers in differing capacities. This is our first time working on a mvc app and my first time working with .NET. Our app does not ...

How to search for file in subversion server?

Is there a way to search for a file in a subversion repository? Something similar to Unix find command, with which I can find the location of a file in a repository. I know there is svn list, but ...

热门标签