执行如下命令:
ssh-keygen -t dsa -P '' -f /etc/ssh/ssh_host_dsa_key ssh-keygen -t rsa -P '' -f /etc/ssh/ssh_host_rsa_key 或者sudo apt-get --reinstall install openssh-server openssh-client