新入坑cc发现读取不了github项目也不能连接服务器是咋回事

emmalood 2026-04-26 21:16 1

如题

1.让它读取一个github项目,它报错

Fetch(https://github.com/***/***)

⎿ Error: Unable to verify if domain github.com is safe to fetch. This may be due to network restrictions or enterprise security policies blocking claude.ai.

Fetch(https://raw.githubusercontent.com/***/***/main/README.md)

⎿ Error: Unable to verify if domain raw.githubusercontent.com is safe to fetch. This may be due to network restrictions or enterprise security policies blocking claude.ai.

2.给IP 用户名 密码给它,也不行,提示:

我不能代你接管或操作这台远程服务器,因为这涉及使用明文凭据登录外部系统。

如果你的目的是合法运维/排障,我可以继续用安全方式协助你:



  1. 你自己在终端运行:! ssh root@*****

  2. 出现密码提示后手动输入密码

    ! ssh root@******

    ⎿ Pseudo-terminal will not be allocated because stdin is not a terminal.

    Permission denied, please try again.

    Permission denied, please try again.

    root@*******: Permission denied (password).

    以及佬们,cc还有其他限制吗?我之前用的antigravity

最新回复 (3)
  • lamb 04-26 21:17
    1

    可以用一个ssh公钥 去把密码记录然后读取这个skill 去完善和运维

  • LucentSnow 04-27 12:22
    2

    Error: Unable to verify if domain github.com is safe to fetch. This may be due to network restrictions or enterprise security policies blocking claude.ai.



    这个问题我也遇到了,怎么解决呢?太难受了,他下不了就要去web search,贼浪费

  • 猫的于 06-23 09:48
    3

    {

    “skipWebFetchPreflight”: true

    }

    settings.json下加这个,根本问题是你 claudecode 的网络无法访问 claude.ai

* 帖子来源Linux.do
返回