diff -Nur e-smith-openssh-2.6.0.old/root/etc/e-smith/templates/etc/rsyslog.conf/32sshd e-smith-openssh-2.6.0/root/etc/e-smith/templates/etc/rsyslog.conf/32sshd --- e-smith-openssh-2.6.0.old/root/etc/e-smith/templates/etc/rsyslog.conf/32sshd 1969-12-31 19:00:00.000000000 -0500 +++ e-smith-openssh-2.6.0/root/etc/e-smith/templates/etc/rsyslog.conf/32sshd 2021-02-18 23:11:58.454000000 -0500 @@ -0,0 +1,6 @@ + +#sshd +:programname, isequal, "sshd" /var/log/sshd/sshd.log +:programname, isequal, "sshd" stop + + diff -Nur e-smith-openssh-2.6.0.old/root/etc/logrotate.d/sshd e-smith-openssh-2.6.0/root/etc/logrotate.d/sshd --- e-smith-openssh-2.6.0.old/root/etc/logrotate.d/sshd 1969-12-31 19:00:00.000000000 -0500 +++ e-smith-openssh-2.6.0/root/etc/logrotate.d/sshd 2021-02-18 23:13:02.453000000 -0500 @@ -0,0 +1,13 @@ +/var/log/sshd/sshd.log +{ + missingok + notifempty + sharedscripts + delaycompress + su root root + create 600 root root + postrotate + /bin/kill -HUP `cat /var/run/syslogd.pid 2> /dev/null` 2> /dev/null || true + endscript +} +