使用乌龟SVN通过VPN进行SVN + SSH签出,Smartsvn失败
|
系统和连接详细信息
我正在使用运行Windows 7的64位系统。我安装了64位的Open VPN和Tortoise SVN。
该存储库位于远程系统中,我们使用VPN进行连接。
到目前为止我做了什么
我已按照必要的步骤来启动VPN连接-
在Open VPN安装路径的config文件夹内添加了一些项目特定的配置文件。从团队成员的工作设置中获取了这些文件。
使用用户启动了Open VPN连接。
运行Putty \的Pageant.exe,选择.ppk文件,然后输入密码。
到这里一切都很好。
然后,我转到本地目录,并尝试使用Tortoise SVN签出远程存储库URL。但这会引发以下错误-
结帐失败
To better debug SSH connection problems, remove the -q option from \'ssh\' in the [tunnels] section of your Subversion configuration file.
Network connection closed unexpectedly
以下是我的Subversion配置文件的[tunnels]部分的内容-
### Section for configuring tunnel agents.
[tunnels]
### Configure svn protocol tunnel schemes here. By default, only
### the \'ssh\' scheme is defined. You can define other schemes to
### be used with \'svn+scheme://hostname/path\' URLs. A scheme
### definition is simply a command, optionally prefixed by an
### environment variable name which can override the command if it
### is defined. The command (or environment variable) may contain
### arguments, using standard shell quoting for arguments with
### spaces. The command will be invoked as:
### <command> <hostname> svnserve -t
### (If the URL includes a username, then the hostname will be
### passed to the tunnel agent as <user>@<hostname>.) If the
### built-in ssh scheme were not predefined, it could be defined
### as:
# ssh = $SVN_SSH ssh
### If you wanted to define a new \'rsh\' scheme, to be used with
### \'svn+rsh:\' URLs, you could do so as follows:
# rsh = rsh
### Or, if you wanted to specify a full path and arguments:
# rsh = /path/to/rsh -l myusername
### On Windows, if you are specifying a full path to a command,
### use a forward slash (/) or a paired backslash (\\\\) as the
### path separator. A single backslash will be treated as an
### escape for the following character.
这是错误中提到的部分吗?我在那里看不到任何“ 2”选项。现在应该做什么。
注意-我也在超级用户上发布了相同的问题-https://superuser.com/q/295439/50101。我在那里没有得到任何答案。让我知道是否应该删除/关闭。
更新资料
我尝试使用Smartsvn 6。
当Openvpn gui正在运行并且腻子选美正在运行时,我选择了“公用/专用密钥验证”,选择了.ppk文件并输入了密码。
我收到此错误-
An error occurred while processing an SVN command
File \'\\path\\to\\key-file.ppk\' is not a valid OpenSSH DSA or RSA private key file.
有任何想法吗?为什么会出现这个错误?如何固定它或任何指针?队友有一个运行Windows XP的32位系统,并且可以签出。而我和另一个新成员有一个运行Windows 7的64位系统,面临同样的问题。
更多细节
用于签出的存储库URL类似于svn + ssh://@...com/var/svn/repositories//
队友再也不会生成任何其他密钥。他们只是将一些文件放入打开的VPN配置文件夹中(一些.ppk,.key,.crt和一些打开的vpn配置文件)。
更新3
使用puttygen生成RSA / DSA密钥时,“要生成的密钥类型”-> 1下有3个选项。4-q
5An error occurred while processing an SVN command
File \'\\path\\to\\key-file.ppk\' is not a valid OpenSSH DSA or RSA private key file.
6ѭ我选择了SSH-1(RSA)
。单击保存私钥。然后再次按照相同的步骤进行结帐。我还选择了Tortoise SVN
->settings
->Network
->SSH Client
->浏览了pageant.exe
文件。仍然无法成功使用checkout->提示\“无法加载此密钥(无法打开文件)\”,然后出现相同的错误-
To better debug SSH connection problems, remove the -q option from \'ssh\' in the [tunnels] section of your Subversion configuration file.
Network connection closed unexpectedly
更新4
一位新的队友(完全在一个系统上工作,与我一样在64位运行Windows 7上工作)已成功从远程服务器中签出。请检查此问题以获取更多详细信息。通过VPN故障调试SVN + SSH签出的正确方法?如何与工作设置进行比较?
没有找到相关结果
已邀请:
2 个回复
缕嚏冻
,
和ѭ17a证书之间来回移动,您可以在此处下载。您将使用的几乎所有建立SSH连接的工具(Putty除外)都将使用
或
密钥对。 如果您使用的是Linux,则可以下载腻子源软件包并自己构建以获得to20的副本,或者如果您使用的是提供软件包管理器的发行版,则可以尝试安装它。例如,在Ubuntu上,您可以执行以下操作:
桔适丛