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

Ssh removes the authentication host for the first time

2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Network Security >

Share

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

New hosts establish ssh connections all the time

The authenticity of host '222.185.x.x (222.185.x.x)' can't be established.RSA key fingerprint is 83:0c:88:96:a5:60:ba:6f:6b:6e:cb:16:16:c6:4c:23.Are you sure you want to continue connecting (yes/no)?

You need to enter yes to continue. Specify the parameter StrictHostKeyChecking value of no to solve the problem.

Ssh-o StrictHostKeyChecking=no-I RSA_key_file root@222.185.x.x

Solution once and for all, modify the configuration document

Modify the configuration of the / etc/ssh/ssh_config file, and this problem will not occur in the future

Add at the end:

StrictHostKeyChecking noUserKnownHostsFile / dev/null

Done. Done.

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

Network Security

Wechat

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

12
Report