openssh-server启动错误解决
时间:2019-05-21 18:46:17
收藏:0
阅读:299
在启动的时候出现以下错误说缺少这三种证书
[root@92e0a13eb9ba /]# /usr/sbin/sshd
Could not load host key: /etc/ssh/ssh_host_rsa_key
Could not load host key: /etc/ssh/ssh_host_ecdsa_key
Could not load host key: /etc/ssh/ssh_host_ed25519_key
sshd: no hostkeys available -- exiting.
解决方法 运行 ssh-keygen -A
[root@92e0a13eb9ba /]# ssh-keygen -A
ssh-keygen: generating new host keys: RSA1 RSA DSA ECDSA ED25519原文:https://blog.51cto.com/kkk0558/2398154
评论(0)