Make the Bitbucket Server SSH key length configurable

XMLWordPrintable

    • Type: Suggestion
    • Resolution: Unresolved
    • None
    • Component/s: SSH
    • None
    • 2
    • 5

      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

            Assignee:
            Unassigned
            Reporter:
            Andrew Bimba (Inactive)
            Votes:
            6 Vote for this issue
            Watchers:
            11 Start watching this issue

              Created:
              Updated: