ssh远程报错ssh_exchange_identification: read: Connection reset by peer
2018-01-08 11:37
1446 查看
通过命令在两台服务器间传输文件scp root@**************:/data/Doc/hlg_superdv/caffe_rtpose-**** ./返回错误ssh_exchange_identification: read: Connection reset by peer初步原因锁定:1-服务器防火墙限定,2-是否达到ssh的最大连接数,超过之后会服务器端会拒绝新的连接,直到有新的连接释放出来3-/etc/hosts.allow和/etc/hosts.deny配置文件限定ip登录解决方案:1 firewall-cmd --list-all-zones 查看pubilic.xml和ssh.xml两个防火墙配置文件,是否放通指定ip2 w 查看当天ssh远程连接数,是否达到最大连接数 #vim /etc/ssh/sshd_config #LoginGraceTime 2m 参数表示登录验证时间 #MaxAuthTries 6 最大验证重试次数 #MaxSessions 10 最大远程连接数3 vim /etc/hosts.all和vim /etc/hosts.deny查看限定的ip4 查看ssh用户登录日志/var/log/secure tail -20 /var/log/secure or #less /var/log/messages 查看最近系统操作信息or #last 查看最近登录日志检查完后仍然没有解决问题,文件依然传输不了。最终通过源文件服务器ifconfig 获取内网地址,后将scp命令中的ip地址改为内网地址,传输完成
相关文章推荐
- ssh_exchange_identification: read: Connection reset by peer
- 连接Ubuntu 时 出错 ssh_exchange_identification: read: Connection reset by peer
- SSH 总是出现ssh_exchange_identification: read: Connection reset by peer问题的解决方案
- 由chmod改系统文件权限引ssh登录报ssh_exchange_identification: read: Connection reset by peer无法登陆问题
- ssh登录报ssh_exchange_identification: read: Connection reset by peer
- ssh_exchange_identification: read: Connection reset by peer 报错解决办法
- 登录ssh提示:ssh_exchange_identification: read: Connection reset by peer error
- linux ssh ssh_exchange_identification: read: Connection reset by peer
- ssh_exchange_identification: read: connection reset by peer
- ssh_exchange_identification: read: Connection reset by peer
- ssh_exchange_identification: read: Connection reset by peer
- ssh远程报错ssh_exchange_identification: read: Connection reset by peer
- 由chmod改系统文件权限引ssh登录报ssh_exchange_identification: read: Connection reset by peer无法登陆问题
- Read from socket failed: Connection reset by peer 问题
- ssh Read from socket failed: Connection reset by peer
- Unable to start adb server: error: protocol fault (couldn't read status): Connection reset by peer
- Read from socket failed: Connection reset by peer
- Read from socket failed: Connection reset by peer
- subsystem request failed on channel 0 Couldn't read packet: Connection reset by peer
- fatal: read error: Connection reset by peer