extensive ssh /var/log/messages with remote auto login ssh
Posted: Mon Apr 01, 2013 2:13 pm
How do I stop the /var/log/messages from accumulating in the message file everytime i remote ssh from nagios to the target machines.
it puts in 4 messages every connection every 2 minutes 4 times a day. I looked into the /etc/log.d/conf/services/sshd.conf file and tried to goole but no answers.
sshd.conf from linux
###########################################################################
# $Id: sshd.conf,v 1.12 2002/10/12 02:08:09 kirk Exp $
###########################################################################
# You can put comments anywhere you want to. They are effective for the
# rest of the line.
# this is in the format of <name> = <value>. Whitespace at the beginning
# and end of the lines is removed. Whitespace before and after the = sign
# is removed. Everything is case *insensitive*.
# Yes = True = On = 1
# No = False = Off = 0
Title = "SSHD"
# Which logfile group...
LogFile = secure
LogFile = messages
# Only give lines pertaining to the sshd service...
*OnlyService = sshd
*RemoveHeaders
########################################################
# This was written and is maintained by:
# Kirk Bauer <[email protected]>
#
# Please send all comments, suggestions, bug reports,
# etc, to [email protected].
########################################################
~
it puts in 4 messages every connection every 2 minutes 4 times a day. I looked into the /etc/log.d/conf/services/sshd.conf file and tried to goole but no answers.
sshd.conf from linux
###########################################################################
# $Id: sshd.conf,v 1.12 2002/10/12 02:08:09 kirk Exp $
###########################################################################
# You can put comments anywhere you want to. They are effective for the
# rest of the line.
# this is in the format of <name> = <value>. Whitespace at the beginning
# and end of the lines is removed. Whitespace before and after the = sign
# is removed. Everything is case *insensitive*.
# Yes = True = On = 1
# No = False = Off = 0
Title = "SSHD"
# Which logfile group...
LogFile = secure
LogFile = messages
# Only give lines pertaining to the sshd service...
*OnlyService = sshd
*RemoveHeaders
########################################################
# This was written and is maintained by:
# Kirk Bauer <[email protected]>
#
# Please send all comments, suggestions, bug reports,
# etc, to [email protected].
########################################################
~