Jenkins controller unable to connect to agents after ssh reconfiguration


I have added some lines to the /etc/ssh/sshd_config file to fix two low level vilnerabilities reported by Nessus as:

  • SSH Weak Key Exchange Algorithms Enabled
  • SSH Server CBC Mode Ciphers Enabled

The lines I added were:


Ciphers aes128-ctr,aes192-ctr,aes256-ctr

MACs hmac-sha1,,hmac-ripemd160

After restarting the SSH server, it was observed that Jenkins master was unable to communicate with the agent servers.

Is there any specific reason and what are the recommended workarounds? Please advise.



What does your node log in Jenkins say? What does your sshd log in the server say?

1 Like