【问题标题】:SSH Access Blocked After Trying GitStack尝试 GitStack 后 SSH 访问被阻止
【发布时间】:2012-10-18 17:54:29
【问题描述】:

我正在使用 msysgit (Git-1.7.11-preview20120710.exe)。我在 Win8 上尝试了GitStack,这是一个 git 服务器,在卸载它后,因为它没有成功,我被阻止访问端口 22。这是我每次尝试推送/克隆/等时 msysgit 向我抛出的内容。

Welcome to Git (version 1.7.11-preview20120710)
Run 'git help git' to display the help index.
Run 'git help ' to display help for specific commands.

Alain@ALAIN-PC /d/Sync/Web/Work/Current/10042012_Madmen
$ cd madmen-intellectuals/

Alain@ALAIN-PC /d/Sync/Web/Work/Current/10042012_Madmen/madmen-intellectuals (de
v)
$ git push -v
Pushing to git@barrelstrengthdesign.beanstalkapp.com:/madmen-intellectuals.git
ssh: connect to host barrelstrengthdesign.beanstalkapp.com port 22: Bad file num
ber
fatal: The remote end hung up unexpectedly

Alain@ALAIN-PC /d/Sync/Web/Work/Current/10042012_Madmen/madmen-intellectuals (de
v)
$ ssh -Tv github.com
OpenSSH_4.6p1, OpenSSL 0.9.8e 23 Feb 2007
debug1: Connecting to github.com [207.97.227.239] port 22.
debug1: connect to address 207.97.227.239 port 22: Attempt to connect timed out
without establishing a connection
ssh: connect to host github.com port 22: Bad file number

在安装 GitStack 之前不会发生这种情况。我真的没有做过任何其他事情,除了中间。有什么建议吗?

注意事项:

  1. 在安装 GitStack 时,我没有选中“安装 msysgit”选项,因为我已经安装了它。但该应用程序并没有开箱即用。我想这就是原因。在那之后我立即卸载了它。

  2. 我已经多次重新启动并禁用了我的防火墙。我检查了 Nmap 并说“已过滤”。

  3. 我已经看到Git SSH error: "Connect to host: Bad file number",但这不是我正在寻找的解决方案。我想回到以前的状态而不会出现错误。另外,我不只用github。

  4. 在安装 GitStack 之前它可以工作。

谢谢!

【问题讨论】:

    标签: ssh firewall msysgit gitstack


    【解决方案1】:

    GitStack 尚不支持 Windows 8,因为该系统尚未发布。
    GitStack 在安装之前创建一个还原点。您应该尝试将计算机恢复到以前的状态。
    还要确保仔细检查您的防火墙是否没有阻止端口 22。GitStack 不使用和修改端口 22。

    【讨论】:

      猜你喜欢
      • 2015-01-04
      • 2021-08-06
      • 1970-01-01
      • 1970-01-01
      • 2019-03-17
      • 2022-01-01
      • 2019-10-04
      • 2021-04-15
      • 2019-12-16
      相关资源
      最近更新 更多