How to suppress BambooTrustedKeyServerKeyVerifier unverified RSA key warnings in logs

Platform Notice: Data Center Only - This article only applies to Atlassian apps on the Data Center platform.

Note that this KB was created for the Data Center version of the product. Data Center KBs for non-Data-Center-specific features may also work for Server versions of the product, however they have not been tested. Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.

*Except Fisheye and Crucible

Summary

Bamboo 5.10 introduces Trusted Keys which allows you to restrict SSH connections to specified known hosts. When Trusted Keys is disabled however, you may encounter warnings like the following appearing in atlassian-bamboo.log:

2016-05-17 18:34:33,043 WARN [sshd-SshClient[1703435b]-nio2-thread-2] [BambooTrustedKeyServerKeyVerifier] Server at my.bitbucketserver.com/192.168.123.101:7999 presented unverified RSA key: SHA256:JwAQ+JgCWhKvqkmHcfWuidrjX31DoMlGvfhPUHEPKg0

It is possible to suppress these entries if you would like to omit them from your logs

Solution

For Bamboo versions prior 9

  • Open your log4j.properties file, which is located at $BAMBOO_INSTALL/atlassian-bamboo/WEB-INF/classes/log4j.properties

  • Add the following property to the end of the file:

log4j.category.com.atlassian.bamboo.plugins.ssh.BambooTrustedKeyServerKeyVerifier=ERROR

  • Restart Bamboo for the new property to take effect

For Bamboo version 9 and above

  • Open your log4j2.properties file, which is located at $BAMBOO_INSTALL/atlassian-bamboo/WEB-INF/classes/log4j2.properties

  • Add the following property to the end of the file:

logger.bamboo-trusted.level=ERROR logger.bamboo-trusted.name=com.atlassian.bamboo.plugins.ssh.BambooTrustedKeyServerKeyVerifier
  • Restart Bamboo for the new property to take effect

Note: If you enable Trusted Keys, these warnings will also disappear.

Updated on September 25, 2025

Still need help?

The Atlassian Community is here for you.