ssh Name or service not known 代理上网
时间: 2023-10-21 13:56:24 浏览: 138
puppet-known_hosts:用于管理用户和系统已知主机的人偶模块
回答: 当遇到"ssh: Could not resolve hostname -: Name or service not known"错误时,可以尝试以下解决方法。首先,可以参考网上教程中的方法来解决该问题。其次,错误信息中提到了"ssh: Could not resolve hostname https: Name or service not known fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists.",这可能是由于配置问题导致的。可以通过执行以下两个命令来解决这个问题:先执行"git remote rm origin"命令,然后执行"git remote add origin https://github.com/..."命令,其中后面的地址应为你的GitHub项目地址。关于代理上网的问题,你是否想了解如何在使用ssh时配置代理?<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* [git 遇到 ssh: Could not resolve hostname -: Name or service not known](https://blog.csdn.net/heijiamhhj/article/details/129511314)[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^v92^chatsearchT0_1"}}] [.reference_item style="max-width: 50%"]
- *2* *3* [ssh: Could not resolve hostname https: Name or service not known fatal: Could not read from remote r](https://blog.csdn.net/Amouzy/article/details/126342407)[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^v92^chatsearchT0_1"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文