JuSH
V2EX  ›  Node.js

部署 3.0 的 hexo 到 gitcafe 问题求解

  •  
  •   JuSH · Aug 22, 2015 · 6361 views
    This topic created in 4091 days ago, the information mentioned may be changed or developed.


    hexo s 后在本地一切正常
    hexo d 到 giecafe 的时候就出现下面的问题,我试过更换公玥还是同样的问题,重新创建一个新的 hexo 也是同样的问题。
    22 replies  •  2015-08-25 08:55:38 +08:00
    LittleMK
    LittleMK
    Aug 22, 2015
    1
    gitcafe 的没 ssh 配置好?
    bitbegin
    bitbegin
    Aug 22, 2015 via Android
    2
    难道不是 public key 的问题?
    way2explore2
    way2explore2
    Aug 22, 2015 via Android
    4
    只怪你不用我大 Linux
    zakokun
    zakokun
    Aug 22, 2015 via iPhone
    5
    wimdows 下的问题这里一般没人能解决😂
    29EtwXn6t5wgM3fD
    29EtwXn6t5wgM3fD
    Aug 22, 2015 via Android
    6
    可以通过用户名,密码来 deploy 啊
    sparkrat
    sparkrat
    Aug 22, 2015
    7
    没有权限. 如果用的是 https 协议,那就是你账号密码输错了..如果是用的 ssh 协议...那就是 rsa 公钥没添加到 gitcafe...
    Chilly
    Chilly
    Aug 22, 2015 via Android
    8
    我也遇到了相同的情况,先 mark 下
    zhuangzhuang1988
    zhuangzhuang1988
    Aug 22, 2015
    9
    @way2explore2
    @zakokun 就是个权限问题, 干嘛牵扯到别的方面.
    way2explore2
    way2explore2
    Aug 22, 2015 via Android
    10
    @zhuangzhuang1988 开个玩笑而已,别介意
    starcraft
    starcraft
    Aug 22, 2015
    11
    这问题 so 上有吧 解释很详细的记得
    zhuangzhuang1988
    zhuangzhuang1988
    Aug 22, 2015
    12
    @way2explore2 我自己不介意的.但是如果熟悉 git 的人还好, 不熟悉的真去安装个 linux,然后还是没解决. 那不是浪费别人时间么.
    professorz
    professorz
    Aug 22, 2015
    13
    说句题外的,怎么不部署到 SAE ,干嘛非得部署到 gitcafe
    rogerchen
    rogerchen
    Aug 22, 2015
    14
    gitcafe 上关于使用公钥认证的帮助页
    https://help.gitcafe.com/manuals/help/ssh-key

    windows 下可以用预先生成好的公钥私钥对,也可以用 puttygen 或者 xshell 所带的 xagent 生成,注意生成的公钥的格式应该是 openssh 格式
    http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html
    rogerchen
    rogerchen
    Aug 22, 2015
    15
    建议楼主贴出加上 --debug 选项的输出
    fszaer
    fszaer
    Aug 22, 2015
    16
    仓库地址
    账号密码
    ssh 公钥
    这些对不对,难保没有出现多了或者少了个字母的低级错误
    然后我记得好像还要下这个包
    hexo-deployer-git
    TakanashiAzusa
    TakanashiAzusa
    Aug 22, 2015
    17
    ssh -vT [email protected]

    看下返回什么
    GuBonjour
    GuBonjour
    Aug 22, 2015
    18
    Permission Denied (public key ) 一般建议走一遍 ssh -T [email protected] 看看
    Chilly
    Chilly
    Aug 22, 2015
    19
    楼主问题解决了吗,我的和你一样,还没解决,求教啊
    8cbx
    8cbx
    Aug 22, 2015
    20
    手动 push public 文件夹吧,我从一开使用 Hexo 就手动 push 的。 git init public 文件夹,之后 checkout gitcafe-pages 分支,之后就是正常的 add commit 和 push 了……这样有个好处就是你的 hexo 博客配置什么的都可以直接 push 到 master 分支下,便于容灾备份
    Chilly
    Chilly
    Aug 22, 2015
    21
    我和你的问题是一模一样的,现在已经解决了。方法其实就是一句话的事,但是为了增加博客访问量,你还是看我的博客吧
    地址: http://www.cognize.me/2015/08/22/msysgiterror/
    JuSH
    JuSH
    OP
    Aug 25, 2015
    22
    感谢各位的大神的帮助, 这个问题我已经解决了。
    我用在更换了我在 gitcafe 的公钥,将原来运行 hexo 2.X 需要密码旧公钥换成了无密码的新公钥就可以同步了。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   1381 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 45ms · UTC 22:45 · PVG 06:45 · LAX 14:45 · JFK 17:45
    ♥ Do have faith in what you're doing.