- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
系统和连接详细信息
我使用的是运行 Windows 7 的 64 位系统。我安装了 Open VPN 和 Tortoise SVN 64 位。
存储库位于远程系统中,我们使用 VPN 进行连接。
到目前为止我做了什么
我已按照必要的步骤启动 VPN 连接 -
到目前为止一切都很好。
然后我转到本地目录并尝试使用 Tortoise SVN check out 远程存储库 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.
这是错误中提到的部分吗? 我在那里看不到任何 -q
选项。现在应该怎么办。
注意 - 我也在 super 用户上发布了同样的问题 - https://superuser.com/q/295439/50101 .我在那里没有得到任何答案。让我知道是否应该删除/关闭。
更新
我尝试使用 Smartsvn 6。当 Openvpn gui 正在运行并且 putty pageant 正在运行时,我选择了“公钥/私钥身份验证”,选择了 .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/reposito ries//
队友从未生成任何进一步的 key 或任何东西。他们只是将一些文件放入他们打开的 VPN 配置文件夹(一些 .ppk、.key、.crt 和一些打开的 vpn 配置文件)。
更新 3
使用 puttygen 生成 RSA/DSA key 时,“生成 key 的类型”下有 3 个选项 -> 1. SSH-1(RSA)
2. SSH-2 RSA
3. SSH-2 DSA
。我选择了 SSH-1(RSA)
。单击保存私钥。然后再次按照相同的步骤进行结帐。我还选择了Tortoise SVN
-> settings
-> Network
-> SSH Client
-> 浏览了 pageant.exe
文件。还是不成功checkout->提示“Couldn't load this key (unable to open file)”然后同样的错误-
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)已成功从远程服务器 checkout 。请检查此问题以获取更多详细信息 Proper way to debug SVN+SSH checkout over VPN failure? How to compare with a working setup?
最佳答案
如 mkro 所述,.ppk
证书是 Putty 独有的。 Putty 有一个非常方便的工具,可以在 DSA
、RSA
和 PPK
证书之间来回切换,您可以下载 here .您将使用的几乎所有建立 SSH 连接的工具(Putty 除外)都将使用 DSA
或 RSA
key 对。
如果您使用的是 Linux,您可以下载 putty 源包并自己构建它以获得 puttygen
的副本,或者如果您使用的是提供包管理器的发行版,你可以尝试安装它。例如,在 Ubuntu 上,你会这样做:
$ sudo apt-get install putty-tools
$ puttygen <your.ppk> -O private-openssh -o <whatever you want to name it>
关于SVN+SSH 使用乌龟 SVN 通过 VPN 结帐,Smartsvn 失败,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/6327364/
我似乎记得在某个地方看到过这个,但在我的一生中,搜索并没有出现我正在寻找的结果。这是我想要的: 我有一个项目存储库。我想将其他 svn 存储库中的库包含在我的项目中。当我对主项目执行 SVN 提交时,
我正在 Magento 中寻找我的结帐购物车页面的解决方案。当我将商品放入购物车时,购物车页面变得空白。!! 我已经尝试了几个选项,但它仍然显示为空白。我启用了 cookie 等,但仍然没有运气。我正
我有一个文件,其中包含 CVS 存储库中包含的许多标签。有没有一种方法可以只使用这些标签 checkout 所有文件及其相关目录,而无需 checkout 整个存储库? 我没有存储库中的目录列表,因此
我正在尝试为客户站点开发一个结帐系统,我想知道执行此操作的最佳方法。请让我知道我在下面尝试过的任何替代方法。 目前我有: 1) 购物车中的商品保存到 $_SESSION 变量 2) 当用户按下“结帐”
我真的很想为我正在开发的市场使用 Paypal。我需要允许用户输入他们的 paypal 电子邮件地址,每当客户购买该用户的产品时,我都会收取少量费用,然后剩下的钱会转到列出该产品的用户。 哪种 pay
有没有办法让输入信用卡信息的部分默认打开,而不是输入paypal信息的部分? 我真的很需要这个,但是到处都找不到! 最佳答案 做到这一点的唯一方法是使用 Express Checkout .在你的Se
我正在使用在 node 下运行的 Stripe Subscription。 我想创建一个预先填写电子邮件地址的新结帐。所以我尝试在客户端做: // Setup event handler to cre
我正在尝试使用 Checkout Dependencies Leiningen 中的功能用于使用 Flambo checkout 的项目.我的 project.clj 看起来像这样: (defproj
谁能告诉我如何使用 Maven 从 SVN 进行结账和进一步更新?我阅读了 maven.apache.org 上的文档,但似乎我对此太愚蠢了,因为我无法理解如何使用 scm:checkout 和 sc
我在 onepage/checkout/success 页面上遇到了麻烦,因为我想将根模板从 2columns-right.phtml 设置为 1column.phtml。应该问题不大... 我得到了
我使用 subversion 创建新存储库的正常工作流程是创建一个新存储库,检查存储库根目录,创建我的分支标签和主干文件夹,并将我的初始文件放在主干中。然后我提交这个“初始导入”,从我的硬盘驱动器中删
我已经使用以下代码向管理员用户添加了自定义元字段:`` function wporg_usermeta_form_field_birthday( $user ) { ?>
我想将 CVS 模块深处的特定文件夹 check out 到我的 Hudson/Jenkins 工作区中。剥离其他选项(例如修剪、分支等),CVS 命令是... cvs checkout -d wor
我正在尝试 git checkout Jenkinsfile跟随方式 stage ('Repo Checkout') { steps { dir('My-Repo') {
我们的大多数项目都使用很多通用代码。我们(最终)正朝着以统一方式管理共享代码的系统迈进。我们将共享代码视为 SVN 中的一个单独项目,然后将其作为外部引用。然而,我们倾向于在项目开发时将外部库指向开发
我已经使用 node.js 实现了 strip 结帐 product.photo是 https://test.s3.amazonaws.com/2213131 const session = awai
将产品添加到购物车时出现问题,它会转到结帐页面,但除了周围的页眉/页脚模板之外,该页面是空的。 我已经尝试了我能想到的一切,它不是主题(发生在所有主题上),我尝试禁用编译器和刷新缓存等.. 服务器日志
有什么方法可以禁用 Magento 中的购物卡/结账/送货选项吗? 我正在开发一个产品比较网站,其价格是从联属网站列出的。 我实际上并没有在我的网站上销售任何东西。 最佳答案 aDVo,如果禁用以下m
我正在做一个订购冰淇淋的程序,用户首先应该在圆锥体或杯子之间进行选择(作为按钮),当他单击按钮时,总数会显示在文本字段中,然后他可以继续选择口味作为复选框,每当他添加额外的 flavor 等时,总数就
我正在使用 HTML 5 required 属性进行表单验证。现在我想要的是,如果表单已经通过了 HTML 5 验证,它应该将用户带到 strip 结帐(我故意在下面的代码中为 SO 问题 xxx 输
我是一名优秀的程序员,十分优秀!