天天看點

更新到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

繼續閱讀