[Nagiosplug-devel] Problem with check_ssh and RST

Olivier 'Babar' Raginel nagios at babar.us
Fri Sep 3 14:56:03 CEST 2010

On Fri, Sep 03, 2010 at 02:21:48PM +0200, Georg Hoesch wrote:
> Instead check_ssh should assure that the connection is properly
> closed (FIN) from both sides. This can be achieved by half-closing
> the connection and waiting for close-confirmation from the other side.
> Alternatively check_ssh can stop the check after receiving the server
> identification string. If we close the connection in this state, the
> server can handle it well and won't send data which we don't handle.
> The client-identification is not sent but IMHO this is no problem.
> I have written a small patch for this alternative and I hope that
> someone is willing to test and integrate this.

I haven't tried your patch, but maybe it would help remove the annoyance 
I find in check_ssh: the syslog is filled up with Connecion closed by 
Maybe some other people find it a feature though... Would be great if 
you could tell me if your patch removes this message. I guess it won't 


More information about the Devel mailing list