Linux Discovery failing after successful SSH authentication (gMSA MID Server + SSH Private Key)
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
13 hours ago
Hi Team,
I am facing an issue with Linux Discovery using SSH Private Key via a gMSA-based Windows MID Server.
1. Current Setup
- MID Server: AWSMID (running with gMSA account - windows mid server)
- Authentication: SSH Private Key
- Target: Ubuntu 22.04 server
- SSH Key format: RSA (BEGIN RSA PRIVATE KEY)
- Credential configured in ServiceNow: ✅
2. Validation Results
Manual SSH from MID server (PowerShell):
ssh -i "C:\SSH\sn_mid_rsa" mid_account@<IP> (
Successfully connects)
3. ServiceNow Credential Test: ✅ Credential validated successfully
4. Discovery starts but fails during classification.
Errors observed in Discovery log:
- SSHTerminalInteractiveCommand: failed to execute
- cli_commands: show vmdevice
- Active, couldn't classify, now finished
- SSH authentication or connection failure
5. MID Server Log Errors
Found repeated errors like:
- Cloud credentials are missing
- Unable to generate temporary credentials
- sts:AssumeRole → AccessDenied
0 REPLIES 0