To enable logging in the OpenSSH server, complete the following steps:
Procedure 6.9.2.1. Forwarding OpenSSH server logs from System i
Use the Work With Links (WRKLNK) command to edit the
/QopenSys/QIBM/
/ProdData/SC1/OpenSSH/openssh-3.5p1/etc/sshd_conf
file.
Edit the file like this:
SyslogFacility AUTH sLogLevel INFO
![]() |
Note |
|---|---|
Consult the documentation on the OpenSSH web site (http://www.openssh.org) for other syslog options. |
Create an empty log file. Sign on as QSECOFR, use the STRQSH shell, and issue the following commands:
mkdir /var/adm touch /var/adm/sshlog
Configure a source to read the /var/adm/sshlog file
in syslog-ng. See Chapter 3, Configuring syslog-ng for
details.
© 2007-2010 BalaBit IT Security
Please send your comments or documentation bugs to: documentation@balabit.com