Giter Club home page Giter Club logo

Comments (9)

wardseptember avatar wardseptember commented on June 13, 2024 1

@yanglbme 谢谢,解决了,原来是添加到gitee项目的部署公钥里面,我以前是在个人中心设置的,所以一直没权限。唉,

from gitee-pages-action.

yanglbme avatar yanglbme commented on June 13, 2024

@wardseptember SSH 公钥要配置在 Gitee,而私钥配置在 GitHub 的 Secret 上,否则没权限同步

from gitee-pages-action.

wardseptember avatar wardseptember commented on June 13, 2024

@yanglbme 这个我配置了,还是不行

from gitee-pages-action.

yanglbme avatar yanglbme commented on June 13, 2024

SSH 密钥配置检查一下,把你本地的 id_rsa 文本复制,配置在 Secrets 上。

image

image

id_rsa.pub 文本复制,配置在 Gitee 上。

image

image

from gitee-pages-action.

wardseptember avatar wardseptember commented on June 13, 2024

@yanglbme 检查好几遍了,我在我自己电脑上就可以ssh -T [email protected]测试成功,都是用的同一个公钥和私钥。

from gitee-pages-action.

wardseptember avatar wardseptember commented on June 13, 2024

@yanglbme

Cloning into bare repository 'gitee-notes.git'...
[email protected]:wardseptember/gitee-notes.git
[email protected]:wardseptember/notes.git
load pubkey "/root/.ssh/id_rsa": invalid format
Warning: Permanently added 'github.com,140.82.113.4' (RSA) to the list of known hosts.
[email protected]: Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
fatal: not a git repository (or any parent up to mount point /github)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).```

一直报这个错,我看日志里面。可我确实加了私钥在github上,公钥在gitee上,在我电脑上都是没问题的。

from gitee-pages-action.

yanglbme avatar yanglbme commented on June 13, 2024

你这报错信息跟 #9 一样,参考一下。

image

from gitee-pages-action.

yanglbme avatar yanglbme commented on June 13, 2024

公钥私钥配置有问题

from gitee-pages-action.

wardseptember avatar wardseptember commented on June 13, 2024

可能是哪里有bug,我已经不想再尝试了,试了八百遍了,都是同一个错误。检查八百遍了

from gitee-pages-action.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.