Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

The solution of Ansible error reporting

2025-04-07 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/03 Report--

Check / etc/hosts to see if the ip has changed if the following error occurs:

"msg": "Failed to connect to the host via ssh: ssh: connect to host s-nginx-3 port 22: Connection timed out"

If the following error occurs, just check / root/.ssh/known_hosts to delete the relevant rsa information of nginx-2.

Nginx-2 | UNREACHABLE! = > {"changed": false "msg": "Failed to connect to the host via ssh: @\ r\ n @\ nIT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!\ r\ nSomeone could be eavesdropping on you right now (man-in-th by the remote host is\ nSHA256: MLGTRAdsoC/plMuoawCaV6gCJipekSikSi6mB5j85ME.\ r\ nPlease contact your system administratown_hosts:12\ r\ nECDSA host key for nginx-2 has changed and you have requested strict checking.\ r\ nHost key verif "unreachable": true}

Vim / .ssh/known_hosts

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report