SSH Connection Failure during UNIX classify

Bhavani Shankar
Tera Guru

Hi,

 

I am facing this issue, during UNIX classify stage I am getting this response that says "SSH Connection Failure"

BhavaniShankar_0-1743589977387.png

 

I tried checking telnet from Midserver it works, what could be the issue

 

 

Regards,
Bhavani Shankar
Linked In
1 REPLY 1

pratikjagtap
Giga Guru

Hi @Bhavani Shankar ,

 

Try below steps to troubleshoot this :

1. Try to validate the credentials against this server and see what output you getting.

2. try to trace root the server from mid server CMD and see what output you are getting. If you see a drop at any hop at trace route then share this result with network team which will help to resolve any issue w.r.t. network connectivity

3.if the above two steps are working fine then try to update the mid server parameter as mentioned below.

 

We resolved connectivity failures by setting mid.connection_cache to false and restarting the MID Server. Additionally, we fine-tuned several parameters to better align with our environment:

  • mid.ssh.channel_timeout

  • mid.ssh.command_timeout_ms

  • mid.ssh.socket_timeout

  • mid.ssh.use_snc

  • mid.ssh.connections_per_host

  • threads.max

Since the default timeout value of 120,000 milliseconds (2 minutes) was insufficient for our setup, we increased it to the maximum of 600,000 milliseconds (5 minutes) to accommodate the JVM structure. The threads.max setting was also adjusted to allow more probes and sensors to execute within this extended timeframe. As a result, Discovery scans and reports are now completing successfully without issues.

 

If this solution helps you then, mark it as accepted solution ‌‌✔️ and give thumbs up 👍 !

 

Regards,

Pratik