检索git存储库时出现teamcity aes256-cbc错误 [英] teamcity aes256-cbc error when retrieving git repository

查看:227
本文介绍了检索git存储库时出现teamcity aes256-cbc错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚刚在新的Windows Server 2012机器上安装了Teamcity 8.0.3。安装成功了,我正在尝试配置代理以获取存储在git服务器中的项目。
此服务器使用ssh密钥。我已经将它添加到我的代理,但是当它试图检索项目时出现此错误。

  rtogit'#1:列表远程引用失败:com.jcraft.jsch.JSchException:密码'aes256-cbc'是必需的,但它不可用。 

我见过,例如这里我必须改变我的政策,但我不是java专家,我知道我必须做什么。



有人可以帮我吗?

编辑:我忘了说我已经安装了GitExtensions 2.46 complete。

解决方案

我有这个问题,发现我的私钥文件格式错误。我不确定您是否使用PuTTYgen生成密钥,但如果是这样,请尝试从转化菜单中选择导出OpenSSH密钥,然后使用该文件。


I've just installed Teamcity 8.0.3 on a fresh Windows Server 2012 machine. Installation was successful, and I'm trying to configure an agent in order to fetch a project stored in a git server. This server uses a ssh key. I've added it to my agent, but when it tries to retrieve the project this error appears.

Failed for the root 'rtogit' #1: List remote refs failed: com.jcraft.jsch.JSchException: The cipher 'aes256-cbc' is required, but it is not available. 

I've seen, for example here that I must change my policy, but I'm not a java expert and I don't know what I must do.

Can someone help me please?

Edit: I forgot to say that I've also installed GitExtensions 2.46 complete.

解决方案

I had this problem and found out my private key file was in the wrong format. I'm not sure if you used PuTTYgen to generate the key but if so try "Export OpenSSH key" from the Conversions menu and use that file instead.

这篇关于检索git存储库时出现teamcity aes256-cbc错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆