Linux Discovery - SSH Private Keys (Copy Public Key on MID Server host)

vcicchirillo
Tera Contributor

Hi All,

We are configuring ServiceNow Discovery in order to discover Linux Server. 
We are using a MID Server deployed on a Windows machine. 
Based on this KB Article (How to use SSH Key based authentication for Discovery - Support and Troubleshooting), you need to copy the public key to the MID server host, using the following command:

$ ssh-copy-id username@<mid-server host>

This command can be used only if the MID server host is Linux-basedwhat to do instead if the host is Windows?

Thank you,
Vito

5 REPLIES 5

Hi, public key has to be added to target endpoint (Linux server), private - to Discovery credentials' record, it should be sufficient. Please test it. 

Probably ServiceNow article covers the use case when MID server / Linux needs to be discovered as well, not sure ...

Hope it helps