解决ssh连接远程机器时提示“ssh_exchange_identification: Connection closed by remote host”或 Connection refused
不少人在ssh连接远程机器时遇到过ssh_exchange_identification: Connection closed by remote host的问题,在网上找了一堆教程试了都不行,博主总结了常见的几种解决方法(以Ubuntu18.04为例)。可能原因1:没装openssh-server;解决方案:sudo apt install openssh-server或者sudo apt-get install openssh-server可能原因2:连接超过了MaxSession
原创
2020-08-06 11:08:44 ·
85826 阅读 ·
16 评论