-
Type:
Bug
-
Resolution: Answered
-
Priority:
Low
-
Affects Version/s: 4.6.1, 4.7.1
-
Component/s: Repositories
-
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
- Create an RSA SSH Key Pair using ssh-keygen
ssh-keygen -t rsa
- 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