SSH无法连接之"connection reset by ip_address port 22"问题解决

版权声明:本文为博主原创文章,未经博主允许不得转载。如需转载,请私信博主。 https://blog.csdn.net/TurboIan/article/details/80155362

如果服务器安装了open-ssh,然后发现客户端无法连接,并出现了
connection reset by (server_ip_address) port 22
那么你可以试试以下两个指令来重置ssh的配置。

rm /etc/ssh/ssh_host_*
sudo dpkg-reconfigure openssh-server

猜你喜欢

转载自blog.csdn.net/TurboIan/article/details/80155362
今日推荐