SSHD启动失败,错误码255

查看/etc/ssh/sshd_config

发现,Listen Address并不是我想要的ip,将其注释掉

 sshd restart,结果返回

Permission denied (publickey,gssapi-keyex,gssapi-with-mic)

继续修改sshd_config。

RSAAuthentication yes 
PubkeyAuthentication yes #这两项为打开公钥模式

再次restart,OK

原文地址:https://www.cnblogs.com/StarStor/p/10271705.html