Uploaded image for project: 'Bitbucket Data Center'
  1. Bitbucket Data Center
  2. BSERV-19381

Make the Bitbucket Server SSH key length configurable

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Unresolved
    • None
    • SSH
    • None
    • 1
    • We collect Bitbucket feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

    Description

      Due to our internal security requirements, we would like to set the RequiredRSASize of our SSH clients to 3000. However, this setting does not allow our client machines to clone from Bitbucket resulting in the following "error: Bad server host key: Invalid key length." This is because the $BITBUCKET_HOME/shared/config/ssh-server-keys.pem has a key length of 2048 as shown below:

      linux@msb:~/bitbucket-home/atlassian-bitbucket-8.9.11/shared/config$ openssl rsa -in ssh-server-keys.pem -text -noout
      Private-Key: (2048 bit, 2 primes)
      modulus:
          00:b5:98:17:19:de:c2:ba:d8:17:e...
      

      We would greatly appreciate it if the key length in Bitbucket could be made configurable so that we can increase it to our required length.

      Thank you

      Attachments

        Activity

          People

            Unassigned Unassigned
            abimba@atlassian.com Andrew Bimba
            Votes:
            2 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: