Has any one created a named credential in EM12c using ssh key credentials with success. I have cut and pasted the private and public keys into the appropriate fields in the Named Credential fields however the "test" is failing
Failed to launch process: Auth fail" errors during validation of ssh credential. The ssh key is on all participating hosts known the EM12c. ssh connections all work fine and authenticate properly. debug of the ssh connection confirms this.
Why is the Named Credential test failing?
Have you checked the following?
- There is a copy of the public key, i.e. contents of file id_rsa.pub, in the <user_home>/.ssh/d_rsa.pub on the target machine.
- There were no extra characters such as blank lines or spaces inserted when you cut and pasted the private and public keys into the fields in the Credential Properties section.
- If there are /var/log/secure.* file on the target machine, look at them for clues.
If necessary, see the following doc for information on setting ssh key named credentials.