There is a small bug in check_by_ssh that causes it to
segfault on some systems.
Somewhere in process_arguments() in check_by_ssh.c:
--
if (commands>1)
remotecmd=strscat(remotecmd,";echo STATUS CODE:
$?;");
if (strlen (remotecmd) <= 1)
usage ("No remotecmd\n");
--
the statement strlen(remotecmd) causes undefined
behaviour (segfaults) when remotecmd==NULL, which is
the case when no remotecmd has been given on the
commandline such as 'check_by_ssh -H blah'. I think a
remotecmd==NULL check is in order here.