Git says “Warning: Permanently added to the list of known hosts”
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: Every time I use git to interact with a remote, such as when pulling or pushing, I am shown the following message: Warning: Permanently added '...' (RSA) to the list of known hosts. How can I prevent this annoying message from displaying? It is only an annoyance―everything functions properly. 回答1: This problem was bugging me for quite some time. The problem is, the OpenSSH client they've compiled for Windows doesn't check the known_hosts file in ~/.ssh/known_hosts ssh -vvvvvvvvvvvvvvvvvvv git@github.com debug3: check_host_in_hostfile: