Configuring Credentials object with type "Username + SSH Key" fails

I tried to configure a Credentials object with type “Username + SSH Key”. I created the key pair with “ssh-keygen -b 4096 -m RFC4716” on my Centos box and specified a passphrase. When attempting to add the private key to a new credentials record (specifying a username and of course the passphrase") I receive the error message “Erroneous Private Key.” It’s most probably not a problem of key size, 2048 doesn’t work.
What are the requirements for a key pair that I can use?

If possible, please try if you can get a ED25519 key to work.


ED25519 did the job.

1 Like