Comments (9)
@yanglbme 谢谢,解决了,原来是添加到gitee项目的部署公钥里面,我以前是在个人中心设置的,所以一直没权限。唉,
from gitee-pages-action.
@wardseptember SSH 公钥要配置在 Gitee,而私钥配置在 GitHub 的 Secret 上,否则没权限同步
from gitee-pages-action.
@yanglbme 这个我配置了,还是不行
from gitee-pages-action.
SSH 密钥配置检查一下,把你本地的 id_rsa 文本复制,配置在 Secrets 上。
id_rsa.pub 文本复制,配置在 Gitee 上。
from gitee-pages-action.
@yanglbme 检查好几遍了,我在我自己电脑上就可以ssh -T [email protected]
测试成功,都是用的同一个公钥和私钥。
from gitee-pages-action.
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.
你这报错信息跟 #9 一样,参考一下。
from gitee-pages-action.
公钥私钥配置有问题
from gitee-pages-action.
可能是哪里有bug,我已经不想再尝试了,试了八百遍了,都是同一个错误。检查八百遍了
from gitee-pages-action.
Related Issues (20)
- 是否有办法提供参数强制刷新gitee pages HOT 5
- Error: [2022-05-22 09:23:40] HTTPSConnectionPool(host='gitee.com', port=443): Read timed out. (read timeout=6) HOT 2
- 卡在Warning: Permanently added 'github.com' (ED25519) to the list of known hosts. 动不了 HOT 4
- 关于 gitee-repo 中的 Gitee 仓库命名问题 HOT 2
- 错误信息: Pages 部署失败,/css/hbe.style.css 文件可能包含违禁违规内容,请排查调整后再行重试 HOT 1
- 请问公私钥会存在过期问题吗? HOT 5
- 此flow疑似已经失效
- 这个触发条件有没有办法设置我将代码 push 到gitee 仓库的时候触发呢 HOT 1
- Sync to Gitee 报错了 HOT 3
- error: failed to push some refs to 'gitee.com:hisnxg/hisnxg.git' HOT 11
- 私钥登录?
- 关于使用 ED25519 算法生成的SSH密匙 HOT 2
- 能否修改这个脚本,让它适用于gitlib HOT 3
- error sync to gitee, 麻烦看下是我哪里配错了吗 HOT 6
- Deploy error occurred, please check your input `gitee-repo`. HOT 6
- SyntaxError: EOL while scanning string literal HOT 5
- action第一步同步正常,第二步从昨天开始就一直失败 HOT 4
- 这看着仓库地址也没问题啊? HOT 1
- 这种能实现吗 HOT 1
- 能否将github的a仓库的某一个文件夹同步到gitee上的a仓库?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gitee-pages-action.