You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
(2024.04.02 and earlier) Private key for accessing the bastion host is invalid
Junbo Liang edited this page Jun 10, 2024
·
1 revision
The issue
When a user downloads the private key for accessing the bastion host from the RES web portal, the key is not well formatted: Multiple lines are downloaded as a single line, which makes the key invalid. The user will get the following error when attempting to access the bastion host with the downloaded key:
Load key "<downloaded-ssh-key-path>": error in libcrypto
<user-name>@<bastion-host-public-ip>: Permission denied (publickey,gssapi-keyex,gssapi-with-mic)
Affected versions
2024.04.02 and earlier
Mitigation
We recommend using Chrome to download the keys as this browser is unaffected.
Alternatively, the key file can be reformatted by creating a new line after -----BEGIN PRIVATE KEY----- and another new line just before -----END PRIVATE KEY-----.