SSH Private Key credentials - Discovery

reddys
Kilo Contributor
created 12h ago (edited 6m ago) in Developer Community
 

I am trying to configure Discovery credentials for Linux/Unix devices and have a few questions.

1. Do we need to generate SSH private key from MID Servers only?

2. Do we need to store Private key in MID server also or is it enough if we store in our instance?

Any advise or guidance would be greatly appreciated.

5 REPLIES 5

Mike Patel
Tera Sage

When you create credential in discovery_credentials.list table make sure to select SSH Private Key as Type.

#1 You can generate it from anywhere and store value in discovery_credentials table

#2 it's enough to store Private key in instance.

Thank you Mike.

DaveHertel
Kilo Sage
Kilo Sage

Another point - credentials are NEVER stored on the MID server.  Typically* credentials are stored on the instance.  When needed by a discovery job, the MID server pulls down the creds (encrypted) and places them in memory on the MID for use while the job is doing its thing.. but the data isn't stored on the MID's disk.

The SSH key you generate is for consumption by the target device to be scanned.  The cred really has nothing to do with the MID... the MID just facilitates the disco probes, using the creds defined on the instance.

*Except if you using an external source or plugin, like CyperArk.

 

Does this help?

 

Thank you.