【Ansible】SSH Error: ssh_exchange_identification: Connection closed by remote host


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/

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM