How many times discovery try to authenticate a device via SSH?

Rick54
Tera Expert

Hello,

We recently came across an issue where discovery tried to attempt SSH auth (this happens when there is an open port 22) on a network device which took down all other dependent network devices and created an outage due to discovery tried ssh for more than 10 times. I am wondering how many times discovery try to authenticate a device when the credentials are not working?

 

Thanks!

1 ACCEPTED SOLUTION

It tries all your valid credentials - so if you have 1 valid SSH account - then once.  If you have 10 accounts then 10 times.  So look at your credential table and look to see how you setup your credentials.

View solution in original post

7 REPLIES 7

knoxkf
Kilo Guru

I believe it will continue to "try" to discover that device for each scheduled job.  We had a similar issue and have had to "exclude" those network devices from our schedules.  We understand that in the next version Servicenow will have a global exclusion policy which would help us with this aspect.  Hope that helps. 

Rick54
Tera Expert

@knoxkf Thanks for the clarification. Do we know how many times it tries and move on to SNMP auth?

It tries all your valid credentials - so if you have 1 valid SSH account - then once.  If you have 10 accounts then 10 times.  So look at your credential table and look to see how you setup your credentials.

I thought same credential is going to be tried multiple times on the same ip at that moment. Thanks for confirming that.