标签:openstack
问题:
若出现获取的IP网络能ping通,但是ssh连接失败,查看sshd服务报错
原因:/etc/ssh/认证文件损坏。
rm -r /etc/ssh/ssh*key
systemctl restart sshd
sudo ssh-keygen -t rsa -f /etc/ssh/ssh_host_rsa_key
sudo ssh-keygen -t dsa -f /etc/ssh/ssh_host_dsa_key
sudo ssh-keygen -t ecdsa -f /etc/ssh/ssh_host_ecdsa_key
标签:openstack
原文地址:http://royals.blog.51cto.com/12990693/1956121