On Thu, 30 Sep 1999, Trenton D. Adams wrote:

> Is there anyway I can get SSH to log to its own file rather than the
> messages?  I don't know, maybe by editing the syslog.conf or something like
> that!

Hello unix guru !

There's a file on your system called /etc/[ssh/]sshd_config
There you can set the field "SyslogFacility" to a local
facility unlisted in your syslog.conf, f.e. to LOCAL7.
Then in syslog.conf add something like
local7.*                        /var/log/sshdlog
and to the first part of the line pointing to
/var/log/messges using semicolon add words
local7.none
Do man syslog.conf before.

                                Timur A. Bolokhov

-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]

Reply via email to