SSH.COM is one of the most trusted brands in cyber security. We help enterprises and agencies solve the security challenges of digital transformation with innovative access management solutions.
sshd2 logs to the facility specified with the
If the option is not set, sshd2 logs to the
For example, if you want sshd2 to log to the
LOCAL1 facility, you need to add the following setting to
your server's configuration
You also need to modify
syslog's configuration, so it
knows where to put the log messages.
/etc/syslog.conf (or equivalent):
On some systems, this file may need to exist before
syslog will write to it, so you may need to create
# touch /var/log/sshd2
syslog accesses files with a non-root UID, for
logger, you need to change the ownership of the
file to that user.
Remember to restart both sshd2 and syslogd after making changes to their configuration files.
The following log facilities are available for