[求助] hexo 部署的时候显示 Permission denied (publickey) fatal?

2016-05-23 10:12:49 +08:00
 jrhu05
rt
详细的是:
Error: Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
我确认我的公钥是没问题的,而且之前也可也成功 push 到 github 上。
此外我通过 ssh -vT git@github.com 进行测试没问题。
显示的是:
Hi jrhu05! You've successfully authenticated, but GitHub does not provide shell access.
debug1: channel 0: free: client-session, nchannels 1
Transferred: sent 3244, received 1776 bytes, in 0.6 seconds
Bytes per second: sent 5263.9, received 2881.8
debug1: Exit status 1
这就活见鬼了,/(ㄒoㄒ)/~~
求大大们帮帮忙啊, google 搜不到啊,都是让重新生成公钥私钥,可是我生成更新 github 的钥匙好几遍了啊!
对了,系统是 mac os X , git 版本是 2.8.3,其余版本信息
hexo: 3.2.0
hexo-cli: 1.0.1
os: Darwin 15.3.0 darwin x64
http_parser: 2.6.1
node: 5.6.0
v8: 4.6.85.31
uv: 1.8.0
zlib: 1.2.8
ares: 1.10.1-DEV
icu: 56.1
modules: 47
openssl: 1.0.2f
谢谢了!
3505 次点击
所在节点    问与答
5 条回复
zvving
2016-05-23 10:35:03 +08:00
jrhu05
2016-05-24 23:14:19 +08:00
@zvving 果然是这样呢,谢谢大神! 10 个铜币略表心意。 linux 类的系统果然要注意权限问题呢
orm
2018-02-02 15:46:27 +08:00
咋解决的呢?链接 404 了
orm
2018-02-02 15:49:00 +08:00
@zvving
链接 404 了,咋解决的呢?
orm
2018-02-02 15:58:51 +08:00
@zvving
找到了,不好意,谢谢

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/280562

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX