SSH-based Repository Authentication Fails due to MOTD (Message of the Day)
Platform Notice: Data Center Only - This article only applies to Atlassian products 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
Symptoms
Configuring an SCM (CVS or Subversion) using SSH authentication fails with the following error:
1
2
3
4
5
6
2010-06-16 13:30:12,375 ERROR [16528015@qtp-15532856-3744] [ExtConnection] Message from ssh:
##############################################################################
Message of the day.
##############################################################################
Cause
Configuration of a plan's source repository authentication with SSH (svn+ssh
or cvs+ssh)
fails if server sends a MOTD
instead of a SSH Password prompt.
Repository authentication via SSH does not work in combination with a MOTD
.
Resolution
Disable MOTD
messages for the Bamboo user accessing the repository over SSH, by putting LogLevel QUIET
into ~/.ssh/config
file.
Was this helpful?