重置ssh的配置。
rm /etc/ssh/ssh_host_*
sudo dpkg-reconfigure openssh-server
rm -rf .ssh/known_hosts
rm /etc/ssh/ssh_host_*
sudo dpkg-reconfigure openssh-server
rm -rf .ssh/known_hosts
本文标题:阿里云服务器ssh连接不上 Connection closed
本文链接:https://www.haomeiwen.com/subject/vpofwctx.html
网友评论