Centos 7 sftp 操作日誌開啓的設置

1、修改ssh的配置 vi /etc/ssh/sshd_config 在149行左右修改如下配置 Subsystem       sftp    /usr/libexec/openssh/sftp-server   -l  INFO -f AUTH 2、修改rsyslog配置 vi /etc/rsyslog.conf 在最後增加如下配置 auth,authpriv.*,local5.*  /var
相關文章
相關標籤/搜索