Rails 如何设置 config ,连接 gitcafe

roam · October 31, 2012 · Last by tiseheaini replied at November 01, 2012 · 5134 hits

用 gitcafe 的时候,连不上服务器,报错,no address associated with name. 应该是 config 文件的问题,但是要怎么设置呢?

错误信息再详细一点

‘$ ssh -T [email protected] -i ~/.ssh/gitcafe’ ‘ssh: gitcafe.com: no address associated with name’

这算是哪门子问题。。。你 ping gitcafe.com 能 ping 通么

好像是提示没有 .ssh/gitcage 这个文件,不过我并不是这么用 gitcafe 我直接 git clone 项目地址,git push 提交代码时就回提示输入密码,也有可以是你没有生成 ssh 密钥文件

#4 楼 @tiseheaini 文件生成了,连不上

#3 楼 @ghosTM55 好吧,估计是公司网关限制,都 ping 不通

登录 gitcafe,在用户管理页,需要添加 SSH Keys,只有这样才能 push 代码,你确定在 管理页添加了 SSH Keys??如果不知道怎么添加可以问我

#8 楼 @Roam 怎么添加的,添加的哪个文件的内容

#9 楼 @tiseheaini 文件 gitcafe.pub

#10 楼 @Roam 你能正常的 clone 和 push 代码吗??

#11 楼 @tiseheaini 现在连上了,但是提示 Gitcage does not provide shell access 正常么?还没 clone 过,我第一次用 gitcafe 和 git,试试看

#12 楼 @Roam 只要能正常 clone 和 push 代码就行,不需要用 ssh 去链接服务器,貌似我链接 github 的服务器没成功

#13 楼 @tiseheaini 可以了,谢谢。我刚刚学习自学 rails 两个月左右,现在在做一个小东西练手,遇到一些问题,请问我能得到您的联系方式,向您请教一下问题么

#14 楼 @Roam 我也是新手,有问题在社区问吧,社区里面的人会帮你的,还有三楼那位是 gitcafe 的掌门人

You need to Sign in before reply, if you don't have an account, please Sign up first.