天天看点

升级到OpenSSL 1.0.0 OpenSSH_5.5p1的脚本

 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

继续阅读