Linux Discovery - SSH Private Keys (Copy Public Key on MID Server host)
						
					
					
				
			
		
	
			
	
	
	
	
	
- Mark as New
 - Bookmark
 - Subscribe
 - Mute
 - Subscribe to RSS Feed
 - Permalink
 - Report Inappropriate Content
 
12-17-2024 09:37 AM - edited 12-17-2024 09:39 AM
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-based: what to do instead if the host is Windows?
Thank you,
Vito
- Labels:
 - 
						
							
		
			Discovery
 
- Mark as New
 - Bookmark
 - Subscribe
 - Mute
 - Subscribe to RSS Feed
 - Permalink
 - Report Inappropriate Content
 
12-18-2024 12:49 PM
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 ...
