Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

teamcity aes256-cbc error when retrieving git repository

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.

like image 861
Jepessen Avatar asked Sep 15 '13 14:09

Jepessen


1 Answers

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.

like image 196
Chadwick Avatar answered Nov 04 '22 11:11

Chadwick