首页 > 系统 > 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连接不上,错误代码如下:

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



相关热词搜索:

上一篇:要登录到这台远程计算机,您必须被授予允许通过终端服务
下一篇:最后一页