unable to convert the SSH private key in ServiceNow into Putty supported ppk

Hanumant Madan1
Kilo Guru

Hello All,

We are using key based authentication for Linux servers discovery.

The same key is working for multiple servers, but for few servers it fails to discover.(key was added by someone before me, and I believe it must be Opsnssh format)

Now, I want to troubleshoot the discovery of those remaining Linux server, and hence I am trying to convert the key into Putty supported ppk file, however, when I copy and paste this SSHK key from ServiceNow to any .pem or just a key file , and import that into Puttygen to have it converted into ppk, it just says invalid format, and it cannot be loaded into Puttygen.

Any suggestions around this on, what am I missing here.

 

Regards,

Hanumant

 

3 REPLIES 3

VivekSattanatha
Mega Sage
Mega Sage

Hi Hanumant,

 

The moment when you paste the key to servicenow it will get encrypted. So what you see on the record is encrypted. So you need to decrypt before you convert.

The Glideencrypter api would help in decrypting the actual key

https://community.servicenow.com/community?id=community_article&sys_id=3a325773db4c701413b5fb24399619dd

Regards,

Vivek

Hi Vivek,

 

Tha looks like for password, it is applicable for SSH keys as well?

Regards,

HM

Did you ever figure out how to decrypt the SSH private key from ServiceNow?