Getting error "SSH authentication or connection failure" while discovering Unix servers.

giriprasad9
Tera Expert

Hi,

I am able to discover some Unix servers, but for some I am getting error "SSH authentication or connection failure: Unable to find any credentials that met your criteria".

Don't know why it is failing for some servers.

Any one let me know where exactly going wrong.

MID Server Logs for UNIX Server 10.10.4.48:

1 ACCEPTED SOLUTION

You would have to give mid_server role to the user that MID server uses to connect to the instance. Another thing to check is if you have restricted that table with a custom ACL.


View solution in original post

6 REPLIES 6

sergiu_panaite
ServiceNow Employee
ServiceNow Employee

From your MID server logs I see you get warnings like:



12/30/15 05:41:30 (768) Probe: SSHCommand:sh ${file:esx.sh}:10.10.4.48 WARNING *** WARNING *** No credentials from instance were loaded. MID server may not have access to credentials table



This means table discovery_credentials has no credentials stored for that particular IP (in example above 10.10.4.48).



Regards,


Sergiu


Hi Sergiu,



Thanks for your reply.



But credentials are there in discovery_credentials table.



Regards,


Giri.


You would have to give mid_server role to the user that MID server uses to connect to the instance. Another thing to check is if you have restricted that table with a custom ACL.


Hi Ankush,



While configuring MID Server I assigned mid_server role, by mistake my teammate removed mid_server role.



After assigning mid_server role it is working.



Thanks for your support.



-Giri.