terencehyz
V2EX  ›  问与答

coding.net 的 ssh 问题

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