删除known_hosts文件,然后重新运行ssh
rm ~/.ssh/known_hosts
service sshd restart
解决git push -u origin master时出现:Failed to add the host to the list of known hosts
最新推荐文章于 2023-10-18 15:27:37 发布
删除known_hosts文件,然后重新运行ssh
rm ~/.ssh/known_hosts
service sshd restart