Warning: Permanently added 'gitcode.net,119.3.229.170' (RSA) to the list of known hosts. git@gitcode.net: Permission denied (publickey).
时间: 2024-04-24 21:24:39 浏览: 144
回答: 这个警告是由于在使用git命令时,出现了权限问题。\[1\]解决这个问题的方法是,在文件夹$HOME/.ssh/下新建一个文件config,并写入语句LogLevel=quiet,保存后退出。然后再次执行git pull命令,就不会再显示这个警告了。\[2\]从图6可以看到,类似的警告已经不再显示了。需要注意的是,这个警告中的地址可能会变动,所以可能会出现不同的地址。\[3\]
#### 引用[.reference_title]
- *1* [Warning: Permanently added ‘github.com’ (ED25519) to the list of known hosts. git@github.com](https://blog.csdn.net/NF_ye/article/details/127475332)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^control_2,239^v3^insert_chatgpt"}} ] [.reference_item]
- *2* *3* [git提交出现警告Warning: Permanently added 'github.com,52.74.223.119' (RSA) to the list of known ...](https://blog.csdn.net/u25th_engineer/article/details/85988502)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^control_2,239^v3^insert_chatgpt"}} ] [.reference_item]
[ .reference_list ]
阅读全文