ssh_exchange_identification: read: Connection reset by peer报错如下:

[root@izbp17x1~]# ssh admin@139.196.。。 -p 2048 -v
OpenSSH_7.4p1, OpenSSL 1.0.2k-fips 26 Jan 2017
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 58: Applying options for *
debug1: Connecting to 139.196.214.67 [139.196.214.67] port 2048.
debug1: Connection established.
debug1: permanently_set_uid: 0/0
debug1: key_load_public: No such file or directory
debug1: identity file /root/.ssh/id_rsa type -1
debug1: key_load_public: No such file or directory
debug1: identity file /root/.ssh/id_rsa-cert type -1
debug1: key_load_public: No such file or directory
debug1: identity file /root/.ssh/id_dsa type -1
debug1: key_load_public: No such file or directory
debug1: identity file /root/.ssh/id_dsa-cert type -1
debug1: key_load_public: No such file or directory
debug1: identity file /root/.ssh/id_ecdsa type -1
debug1: key_load_public: No such file or directory
debug1: identity file /root/.ssh/id_ecdsa-cert type -1
debug1: key_load_public: No such file or directory
debug1: identity file /root/.ssh/id_ed25519 type -1
debug1: key_load_public: No such file or directory
debug1: identity file /root/.ssh/id_ed25519-cert type -1
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_7.4
ssh_exchange_identification: read: Connection reset by peer

解决方法:去你需要ssh的那台机器吧ssh被连接的权限开启

[root@iZ11of]# vim /etc/hosts.allow

sshd:IP:allow
sshd:ALL(表示所有的IP)

[root@iZ11ofs]# service  sshd  restart

问题解决

最新文章

  1. VMware中CPU分配不合理以及License限制引起的SQL Scheduler不能用于查询处理
  2. 纯css实现模块阴影变色效果
  3. Java集合框架学习总结
  4. CSS3+HTML5实现块阴影与文字阴影
  5. rails中两种回滚-reversible和revert区别
  6. 使用android.support.design.widget.TabLayout出现java.lang.reflect.InvocationTargetException
  7. c#关键字详解
  8. android152 笔记 2
  9. (转载)设计模式学习笔记(十一)——Facade外观模式
  10. 转自52 梦回凉亭的她 Java常见问题,面试题
  11. combinations(组合)
  12. SSM-SpringMVC-17:SpringMVC中深度剖析HandlerAdapter处理器适配器底层
  13. mysql group by 对多个字段进行分组
  14. (原)ubuntu中使用conda安装tensorflow-gpu
  15. 使用jquery.validation+jquery.poshytip做表单验证--未完待续
  16. ASP.NET MVC一次删除多笔记录 V2.0
  17. [Web 前端] React-router4简约教程
  18. git报错:Pull is not possible because you have unmerged files解决方法
  19. make编译三
  20. 虚拟机CentOS7网络配置

热门文章

  1. sublime快捷键大全(转)
  2. JavaMail 邮件发送
  3. Oracle OCI操作UDT相关学习(二)
  4. 卸载或安装程序出现:The feature you are trying to use is on a network resource ...
  5. Android - 内存泄漏的情况以及解决方法
  6. Python之异常设计(一)
  7. sql left join 字符串
  8. xml文件读取到数据库
  9. css3阴影
  10. 关于ES7里面的async和await