V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
terencehyz
V2EX  ›  问与答

coding.net 的 ssh 问题

  •  
  •   terencehyz · Feb 21, 2017 · 3229 views
    This topic created in 3352 days ago, the information mentioned may be changed or developed.

    coding 的 ssh 密钥用的之前 github 生成的,但是执行$ ssh -T [email protected] 时出现 ssh: connect to host coding.net port 22: Connection refused 的错误。
    hexo 部署的时候会报

    Please make sure you have the correct access rights and the repository exists. FATAL Something's wrong. Maybe you can find the solution here: http://hexo.io/docs/troubleshooting.html Error: ssh: connect to host git.coding.net port 22: Connection timed out fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists. at ChildProcess.<anonymous> (D:\blog\node_modules\hexo-deployer-git\node_modules\hexo-util\lib\spawn.js:37:17) at emitTwo (events.js:106:13) at ChildProcess.emit (events.js:191:7) at ChildProcess.cp.emit (D:\blog\node_modules\cross-spawn-async\lib\enoent.js:37:29) at maybeClose (internal/child_process.js:877:16) at Process.ChildProcess._handle.onexit (internal/child_process.js:226:5)

    的错误,这个该怎么解决?哪里配置错了吗?

    6 replies    2018-07-28 10:19:18 +08:00
    terencehyz
        1
    terencehyz  
    OP
       Feb 21, 2017
    求助啊,,,折腾了一天了
    bdbai
        2
    bdbai  
       Feb 21, 2017 via Android
    imxieke
        3
    imxieke  
       Feb 21, 2017 via Android
    难道楼主不知道地址已经变成 git.coding.net 了么?
    我想楼主一定没有看帮助
    tedzhou1221
        4
    tedzhou1221  
       Feb 22, 2017 via iPhone
    应该是 [email protected] 我下午才搞过
    tedzhou1221
        5
    tedzhou1221  
       Feb 22, 2017 via iPhone
    看错了……尴尬😅
    onlychristmas
        6
    onlychristmas  
       Jul 28, 2018
    ssh -T -p 443 git@git-ssh.coding.net
    就可以了
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5615 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 48ms · UTC 08:23 · PVG 16:23 · LAX 01:23 · JFK 04:23
    ♥ Do have faith in what you're doing.