经过检查日志发现是ssh服务出现了修复不了的情况,这种情况下只能彻底卸载然后再安装ssh服务了。
sudo apt-get remove openssh-server openssh-client --purge -y sudo apt-get autoremove sudo apt-get autoclean sudo apt-get install openssh-server service sshd start