OS:linux5.3 x86_64 linux5.5 x86_64
重启sshd会报错如下
Stopping sshd: [ OK ]
Starting sshd:WARNING: initlog is deprecated and will be removed in a future release
解决办法:
vim /etc/init.d/sshd
找到107行
#注释如下行
#initlog -c "$SSHD $OPTIONS" && success || failure
#添加如下行
$SSHD $OPTIONS && success || failure