.pem key credentials Discovery

H3ll0 Th3r3
Kilo Contributor

Hi Everyone 🙂

I am trying to run Discovery and I am getting some log messages saying, "No credential found for types [SSH Password,SSH Private Key]". My server that is set up for Discovery detection only has a .pem key right now. When I go into Discovery to add credentials for this, all I can find are credentials that require user names and passwords. What is up with that? How do I provide ServiceNow with the .pem file directly or get a username/password from the .pem to use?

Thanks in advance ❤️

11 REPLIES 11

Hi @DaveHertel,


Thanks for your answers.

 

Is it possible to add private key generated by OPENSSH algorithm ed25519? Not the RSA , DSA or ECDSA?


Because in the documentation website I see this.

SwarnadeepNandy_0-1719309993282.png

 

The key looks something like this

-----BEGIN OPENSSH PRIVATE KEY-----

<Details>

-----END OPENSSH PRIVATE KEY-----

 

Kind Regards,
Swarnadeep Nandy

It seems, OpenSSH by default uses ED25519 algorithm to generate key pair, which is more secure and faster, but unfortunately ServiceNow doesn't support (I maynot be true, but I weren't able to make it work).
But then I generate the key pair using RSA algorithm and it worked like charm.

Thanks.