[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Monitoring sshd
From: |
Igor Homyakov |
Subject: |
Re: Monitoring sshd |
Date: |
Mon, 17 Nov 2003 12:29:49 +0300 |
User-agent: |
Mutt/1.4.1i |
You right, chomp is not needed.
* Jan-Henrik Haukeland <address@hidden> [031114 19:59]:
> David Fletcher <address@hidden> writes:
> > Looking at the file "protocols/ssh.c" in the Monit distribution reveals
> > that whatever identification string the server sends out, Monit sends
> > the same thing back.
> Hmm, not quite, chomp() strips the ending CRLF. Since it works with
> the predefined string (with CRLF) it is a strong indication that the
> problem is the missing CRLF in the string sent back to the server.
--
Igor Homyakov
<homyakov at altlinux dot ru>
http://counter.li.org/cgi-bin/runscript/display-person.cgi?user=190141