Xymon Mailing List Archive search

ssh log file messages

list Daniel J McDonald
Fri, 11 Mar 2005 09:05:55 -0600
Message-Id: <user-8bcc4a5b09b6@xymon.invalid>

On Fri, 2005-03-11 at 00:38 -0500, Asif Iqbal wrote:
On Thu, Mar 10, 2005 at 11:56:53AM, Daniel J McDonald wrote:
I'm sure someone has thought about this...
Using either hobbit or BBGen, I get lots of messages in the log file
from the sshd daemon complaining about bbuser trying to log in:

Mar 10 11:51:47 ns1 sshd[30081]: Bad protocol version identification
'quit' from ::ffff:198.214.232.10
Mar 10 11:51:47 ns1 sshd(pam_unix)[30082]: authentication failure;
logname= uid=0 euid=0 tty=NODEVssh ruser= rhost=bolt.austinenergy.com
user=bbuser

I know that I can twiddle bb-services to fix this, but not certain what
I should send...  Anyone with an example that connects quietly?
I think you want to change ssh to ssh:s to do the test silently
No, that bounces between yellow and green, and red repeatedly.

I'm going to try:
[ssh|ssh1|ssh2]
   send "SSH-2.0-OpenSSH_3.9p1\n"
   expect "SSH"
   options banner
   port 22

but I don't think that's right.
man bb-hosts have more details