check_ssh fatal: Read from socket failed: Connection reset b


#1

Hi Guys,

When I run the check_ssh plugin I get the following error messages logged to dmesg:

sshd[11037]: [ID 800047 auth.crit] fatal: Read from socket failed: Connection reset by peer

It looks like that Nagios is trying to make a ssh connection to check for this service but it does not actually do it and then it disconnects the connection abruptly. This is because it only needs to get the ssh version string so therefore doesnt negotiate a session resulting in the above message.

What I want to know is, is there a fix for this bug, or has anyone created a check_ssh plugin that doesn’t do this or will this be fixed soon?

This website seems to claim it is fixed lists.alioth.debian.org/pipermai … 01184.html
but I have this version and im still getting the error. Also I dont want to disable the sshd from logging as this is needed/
.

Can anyone help??