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)
的错误,这个该怎么解决?哪里配置错了吗?
1
terencehyz OP 求助啊,,,折腾了一天了
|
2
bdbai 2017 年 2 月 21 日 via Android
|
3
imxieke 2017 年 2 月 21 日 via Android
难道楼主不知道地址已经变成 git.coding.net 了么?
我想楼主一定没有看帮助 |
4
tedzhou1221 2017 年 2 月 22 日 via iPhone
应该是 [email protected] 我下午才搞过
|
5
tedzhou1221 2017 年 2 月 22 日 via iPhone
看错了……尴尬😅
|
6
onlychristmas 2018 年 7 月 28 日
ssh -T -p 443 git@git-ssh.coding.net
就可以了 |