LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Ssh Logs (https://www.linuxquestions.org/questions/slackware-14/ssh-logs-608368/)

alpha_hack 12-21-2007 10:16 AM

Ssh Logs
 
Hi there,
I want to make ssh writing logs to /var/log/sshd.log but I can't find the way. Usually it writes logs to /var/log/messages, but I need it as a stand alone log file. Could somebody please explain to me how to do it ?


Thanks in advance !
Steve

unSpawn 12-21-2007 10:41 AM

Read 'man sshd_config', then set SyslogFacility in /etc/ssh/sshd_config, then set up a log with the facility in /etc/syslog.conf. Then restart sysylogd, then restart sshd.


All times are GMT -5. The time now is 10:23 AM.