SSH Key rejected when RFC4716 format Keys used

XMLWordPrintable

    • Severity 3 - Minor

      Issue Summary

      When using SSH key authentication, the key is rejected if the incorrect SSH key format is used.

      Example Steps to Reproduce

      1. Create an RSA SSH Key Pair using ssh-keygen
        ssh-keygen -t rsa
        
      1. Add the Public Key to your Fisheye repository using "Upload private key for ssh"

      Expected Results

      The SSH key to be a valid key.

      Actual Results

      Uploading the key the following error is displayed:

      • The file you uploaded is not a valid private key

      Notes

      This occurs when the version of OpenSSH has RFC4716 as the default key format.

      Workaround

      Create the key using PEM format, which RFC4716 replaced. For example:

      ssh-keygen -m PEM -t rsa
      

            Assignee:
            Unassigned
            Reporter:
            dlaser (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: