ssh卡在debug1: SSH2_MSG_KEXINIT sent解决方法

在用osboxes.org上的linux ubuntu镜像时,安装了openssh-server后,发现ssh会卡在debug1: SSH2_MSG_KEXINIT sent上

解决方法是:

$ sudo rm -rf /etc/ssh/ssh_host*
$ sudo dpkg-reconfigure openssh-server

 

posted @ 2019-05-14 22:59  suhanwu  阅读(3677)  评论(0编辑  收藏  举报