通过 VPN 故障调试 SVN+SSH 结帐的正确方法?如何与工作设置进行比较?
简而言之
给定一个设置,其中 SVN+SSH 通过 VPN 签出不起作用,而另一个设置起作用,找出两个系统之间的差异的正确步骤是什么?
详细信息
我使用的是运行 Windows 7 的 64 位系统。我安装了 Open VPN 和 Tortoise SVN 64 位。
该存储库位于远程系统中,我们使用 VPN 进行连接。
继续我之前的问题 使用 tortoise SVN 通过 VPN 进行 SVN+SSH 结账,Smartsvn 失败
一位新队友(在一个系统上工作,64 位运行 Windows 7,和我一样)已成功检查从远程服务器发出(通过 Open VPN 连接)。我们都遵循相同的步骤-
- 在 Open VPN 安装路径的 config 文件夹中添加了一些项目特定的 Open VPN 配置文件。从其他团队成员的工作设置中获取这些文件。
- 使用用户启动 Open VPN 连接。
- 运行 Putty 的 Pageant.exe,选择 .ppk 文件并输入密码。
在他签出成功后,我使用与他使用过的完全相同的软件重新安装了软件(OpenVPN、tortoiseSVN),但在尝试签出或使用存储库浏览器时仍然出现以下错误。
错误读取 -
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
但配置文件中没有这样的 -q
。请阅读我的上一个问题 使用 tortoise SVN 通过 VPN 进行 SVN+SSH 结帐,Smartsvn 无法查看那里的内容。
我已经验证我的Windows防火墙设置与他的完全相同。但是,他的系统和我的系统肯定有一些不同。这是屏幕截图 -
注意 - 他没有进行任何密钥转换,只需复制 Open VPN 的 config 文件夹中的内容,就像我一样。我尝试使用他使用的相同文件。
我的问题是从这里开始的正确方法是什么?
谢谢
In brief
Given a setup where SVN+SSH checkout over VPN is not working, and another where it is working, what is the correct procedure to find out what is the difference between two systems?
Details
I am using a 64-bit system running Windows 7. I have Open VPN and Tortoise SVN 64-bit installed.
The repository is in a remote system, and we connect using VPN.
Continuing from my earlier question SVN+SSH checkout over VPN using tortoise SVN, Smartsvn failing
One new teammate (working on exactly a system, 64-bit running windows 7, same as me) has successfully checked out from the remote server (connected via Open VPN). Both of us have followed the same steps -
- Added some project specific Open VPN config files inside the config folder of the Open VPN installation path. Took these files from working setup of other team members.
- Initiated Open VPN connection using a user.
- ran Putty's Pageant.exe, selected the .ppk file and entered the pass phrase.
After his checkout was successful, I did a fresh installation of the softwares (OpenVPN, tortoiseSVN) using exactly the same ones he has used but still getting the following error when trying to checkout or using repository browser.
Error reads -
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
But there is no such -q
in the config file. Please read my prev question SVN+SSH checkout over VPN using tortoise SVN, Smartsvn failing to see what are the contents there.
I have verified that my windows firewall settings are exactly the same as his. But, there must be some difference between his system and mine. Here is a screenshot -
Note - He did not do any conversion of keys, just copied the contents inside Open VPN's config folder, like I did. I tried with the same files he used.
My question is what is the correct way to proceed from here?
Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论