Skip to content

sslh - option 2 rotation to /var/log/sslh.log

Logfile for SSLH

Hey Folks! Not sure if i'm at the right subreddit for my question but:

I have SSLH running on my Server to run ssh and http both on -p 443, now i want also use fail2ban and logwatch but i can't find any help to create a logfile for sslh.

Any suggestions?

Problem solved, simply forgot to restart rsyslog. Shame on me :D

For those who want to know how to do:

Simply create a file: /etc/rsyslog.d/sslh.conf

with

if $programname == 'sslh' then /var/log/sslh.log if $programname == 'sslh' then ~

after that sudo services rsyslog restart

Done :)

https://www.reddit.com/r/sysadmin/comments/2j85zg/logfile_for_sslh/