Hi,

Ok ....

Try to put the following :

# Logging
SyslogFacility AUTH
LogLevel INFO

and in your syslog.conf .......

*.info;                                         /var/adm/ssh.log
auth.*                                          /var/adm/auth.log

And dont forget it`s *.info; ... ;-)

- dan
 

Rehan Ahmed wrote:

Thanx for the answer , but when I add LogLevel DEBUG line in my sshd2_config
file the following error messages appeared.
     WARNING: Unrecognized configuration parameter loglevel
Regards,
Rehan

>On Thu, 19 Apr 2001, Rehan Ahmed wrote:
>
>> Hi All,
>> Can any guru tell me if I wanna ssh logs in /var/adm/messages, what should
I
>> do. Right now, My ssh2 is working fine but no logs.
>> Thanx in advance,
>> Regards,
>> Rehan
>
>Edit your sshd_config (installed on /usr/local/etc by default).
>Look for the lines SyslogFacility and LogLevel. The following
>is a portion of my own sshd_config.
>
># Logging
>SyslogFacility AUTH
>LogLevel DEBUG
>
>Then edit your /etc/syslog.conf (if necessary). On my machine,
>I have this snippet of syslog.conf:
>
>*.=debug        /var/log/debug.log
>auth.*          /var/log/auth.log
>
>The 2 lines above will dump all ssh connections to /var/log/auth.log
>and /var/log/debug.log
>
>Kill and restart syslogd and sshd.
>
>--------------------
>"The best players, I think, are always the ones who remember
>their losses, because they remember the pain and they hate it."
>    -- Billie Jean King
>
>
>
>
http://www.cyber.net.pk

Reply via email to