ssh git@192.168.2.129 不能连接gitlab
MacHerodeMacBook-Pro:~ machero$ ssh git@192.168.2.129
PTY allocation request failed on channel 0
/opt/gitlab-7.2.1-1/ruby/lib/ruby/2.0.0/net/http.rb:878:in initialize': Connection refused - connect(2) (Errno::ECONNREFUSED) from /opt/gitlab-7.2.1-1/ruby/lib/ruby/2.0.0/net/http.rb:878:in
open'
from /opt/gitlab-7.2.1-1/ruby/lib/ruby/2.0.0/net/http.rb:878:in block in connect' from /opt/gitlab-7.2.1-1/ruby/lib/ruby/2.0.0/timeout.rb:52:in
timeout'
from /opt/gitlab-7.2.1-1/ruby/lib/ruby/2.0.0/net/http.rb:877:in connect' from /opt/gitlab-7.2.1-1/ruby/lib/ruby/2.0.0/net/http.rb:862:in
do_start'
from /opt/gitlab-7.2.1-1/ruby/lib/ruby/2.0.0/net/http.rb:851:in start' from /opt/gitlab-7.2.1-1/apps/gitlab/gitlab-shell/lib/gitlab_net.rb:79:in
get'
from /opt/gitlab-7.2.1-1/apps/gitlab/gitlab-shell/lib/gitlab_net.rb:38:in discover' from /opt/gitlab-7.2.1-1/apps/gitlab/gitlab-shell/lib/gitlab_shell.rb:77:in
user'
from /opt/gitlab-7.2.1-1/apps/gitlab/gitlab-shell/lib/gitlab_shell.rb:82:in username' from /opt/gitlab-7.2.1-1/apps/gitlab/gitlab-shell/lib/gitlab_shell.rb:36:in
exec'
from /opt/gitlab-7.2.1-1/apps/gitlab/gitlab-shell/bin/gitlab-shell:16:in `'
Connection to 192.168.2.129 closed.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
修改/home/git/gitlab-shell/config.yml
默认是8080端口,我用gitlab web服务起用的是80端口 改一下端口就行了
参考http://blog.csdn.net/black_ox/article/details/17753943