Status: Resolved (View Workflow)
Jenkins LTS 2.222.4
All latest plugins including Script Security update to 1.73
Slaves/Nodes do not start after latest plugin updates.
Narrowed down to Trilead version 1.0.7
Causes error :
[06/04/20 14:30:19] [SSH] Opening SSH connection to xxx:22.
Searching for xxx in /home/blabla/.ssh/known_hosts
Searching for xxx:22 in /home/blabla/.ssh/known_hosts
[06/04/20 14:30:19] [SSH] SSH host key matches key in Known Hosts file. Connection will be allowed.
ERROR: Server rejected the 1 private key(s) for blabla(credentialId:myCredentials/method:publickey)
[06/04/20 14:30:19] [SSH] Authentication failed.
[06/04/20 14:30:19] Launch failed - cleaning up connection
[06/04/20 14:30:19] [SSH] Connection closed.
Can confirm that reverting to the previous version of trilead solved the problem. In my case, the issue was only presenting when connecting from our Linux master node to a macOS agent.
( sorry - was out of office..)
Do you still need info?
I have a linux -> linux environment, all running the same linux version. Jenkins user can login to all machines with ssh.
Yes it is an RSA key.
We figured out the issue. The first PR was reverted, and I have a new PR open to support RSA with SHA-2 signatures.
trilead-api v1.0.8 revert the change