Question

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.

Was it helpful?

Solution

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.

OTHER TIPS

In the <TeamCity>\jre\release file check for the 'JAVA_VERSION' and download the corresponding jce version. ensure that both the 'teamcity build agent' and 'teamcity server' services are stopped. replace the files and restart the service.

If teamcity has JAVA_VERSION=1.7.0, then download JCEPolicyJDK7 version.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top