首页 >
系统 >
windows
ssh_exchange_identification: read: Connection reset by peer
时间:2020-04-20 21:49:23 点击: 来源: 作者:
最近折腾云服务器防火墙,不小心设置出错导致ssh连接不上,错误代码如下:
ssh_exchange_identification: read: Connection reset by peer
加-v参数可查看详细连接信息:
ssh -v 192.168.0.101
解决方案:使用vnc等 ...
最近折腾云服务器防火墙,不小心设置出错导致ssh连接不上,错误代码如下:
ssh_exchange_identification: read: Connection reset by peer
加-v参数可查看详细连接信息:
ssh -v 192.168.0.101

解决方案:使用vnc等连接到主机。
vi /etc/hosts.allow
加入以下:
sshd: ALL ##允许所有ip主机均能连接本机
重启下ssh:
service sshd restart
”您可通过以下微信二维码,赞赏作者“
