xuyangus 发表于 2018-1-3 12:43:28

【Ansible】SSH Error: ssh

  ansible ssh到目标机器
  时好时坏,报错:SSH Error: ssh_exchange_identification: Connection closed by remote host
  咋搞?
  解决办法简单粗暴:
  /etc/init.d/ssh restart
  啥原因?不知道!
  可能是虚拟机太傻叉!
  也有可能使用了跳板机,然后设置了forks数目不为1
  参考资料:
  http://wangmukun.blog.51cto.com/651644/202747
  http://www.justwinit.cn/post/4726/
  http://patchwork.ozlabs.org/patch/263713/
页: [1]
查看完整版本: 【Ansible】SSH Error: ssh