coding.net 的 ssh 问题

2017-02-21 20:53:21 +08:00
 terencehyz

coding 的 ssh 密钥用的之前 github 生成的,但是执行$ ssh -T git@coding.net 时出现 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)

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

2903 次点击
所在节点    问与答
6 条回复
terencehyz
2017-02-21 21:17:42 +08:00
求助啊,,,折腾了一天了
bdbai
2017-02-21 22:47:48 +08:00
git@git.coding.net
imxieke
2017-02-21 23:01:03 +08:00
难道楼主不知道地址已经变成 git.coding.net 了么?
我想楼主一定没有看帮助
tedzhou1221
2017-02-22 00:36:37 +08:00
应该是 git@gitoschina.net 我下午才搞过
tedzhou1221
2017-02-22 00:38:31 +08:00
看错了……尴尬😅
onlychristmas
2018-07-28 10:19:18 +08:00
ssh -T -p 443 git@git-ssh.coding.net
就可以了

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

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

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

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

© 2021 V2EX