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

Make the Bitbucket Server SSH key length configurable

XMLWordPrintable

    • Icon: Suggestion Suggestion
    • Resolution: Unresolved
    • None
    • SSH
    • None
    • 5
    • 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.

      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

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

                Created:
                Updated: