LOG sshd

General support questions
Post Reply
Blisk
Posts: 316
Joined: 2011/07/04 14:49:51
Contact:

LOG sshd

Post by Blisk » 2011/10/23 20:03:23

I have log full of
sshd[18316]: Connection closed by 127.0.0.1

this is caused because of Monit. How can I disable to log this, because it makes my log unusable for other things.

pschaff
Retired Moderator
Posts: 18276
Joined: 2006/12/13 20:15:34
Location: Tidewater, Virginia, North America
Contact:

LOG sshd

Post by pschaff » 2011/10/24 15:38:32

Did you install from RPMforge, EPEL, or tarball? Sounds like a question for [url=http://mmonit.com/monit/]Monit[/url].

Blisk
Posts: 316
Joined: 2011/07/04 14:49:51
Contact:

Re: LOG sshd

Post by Blisk » 2011/10/25 08:49:22

[quote]
Blisk wrote:
I have log full of
sshd[18316]: Connection closed by 127.0.0.1

this is caused because of Monit. How can I disable to log this, because it makes my log unusable for other things.[/quote]

I think it is from rpm forge.
But all I need is to stop logging this.

User avatar
TrevorH
Site Admin
Posts: 33221
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: LOG sshd

Post by TrevorH » 2011/10/25 08:52:58

Look at the LogLevel parameter in `man sshd_config`. It defaults to INFO so you would need to turn it down to ERROR or one of the other categories that log less. However, what messages you would then miss that you might want to see is another matter.

Post Reply