jrhu05
V2EX  ›  问与答

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

  •  
  •   jrhu05 · May 23, 2016 · 3993 views
    This topic created in 3640 days ago, the information mentioned may be changed or developed.
    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 [email protected] 进行测试没问题。
    显示的是:
    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
    谢谢了!
    5 replies    2018-02-02 15:58:51 +08:00
    jrhu05
        2
    jrhu05  
    OP
       May 24, 2016
    @zvving 果然是这样呢,谢谢大神! 10 个铜币略表心意。 linux 类的系统果然要注意权限问题呢
    orm
        3
    orm  
       Feb 2, 2018
    咋解决的呢?链接 404 了
    orm
        4
    orm  
       Feb 2, 2018
    @zvving
    链接 404 了,咋解决的呢?
    orm
        5
    orm  
       Feb 2, 2018
    @zvving
    找到了,不好意,谢谢
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1027 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 32ms · UTC 19:21 · PVG 03:21 · LAX 12:21 · JFK 15:21
    ♥ Do have faith in what you're doing.