SSH Service fails to start after a Windows restart due to an cryptographic problem

Hi guys,

after I installed the latest Windows updates on our ContinuaCI server and restarted the server the Continua SSH service fails to start. According to the debug log the password to decrypt the private key in server_kerpair.pem doesn’t work anymore which sounds rather strange. Another restart of the service or the complete server did not help. I attached the log file for SSH service. Although the SSH service is down Continua CI still seems to work as expected.

Our environment:
Windows Server 2012 R2 Standard English
Patch Level 2018-02
Continua CI 1.8.1.692

Kind regards

Kay Zumbusch__42077__0__SSHService20180215.zip (1.375 KB)

Hi Kay

We believe (but haven’t been able to prove) this is caused by windows update, as we saw the same thing here. The most recent version has some code in place to deal with this.

As a temporary fix (until you are able to update), delete the C:\ProgramData\VSoft\ContinuaCI\SSHD\server_kerpair.pem file and then start the service (a new key pair will be generated).

Continua CI only uses the SSH Service when it cannot access the share by SMB, eg when and agent is outside the firewall or in the cloud.

Hi Vincent,

thanks a lot. That worked as expected.

Kind regards

Kay Zumbusch