最新消息:20210816 当前crifan.com域名已被污染,为防止失联,请关注(页面右下角的)公众号

【未解决】win7下cygwin下git push origin master出错:ssh: connect to host git.code.sf.net port 22: Connection timed out

Git crifan 2661浏览 0评论

【问题】

折腾:

【记录】尝试通过git把BlogsToWordpress的代码上传到SourceForge

期间,需要把代码通过git上传到SourceForge上,结果执行push时出错:

CLi@PC-CLI-1 /cygdrive/d/tmp/tmp_dev_root/git/BlogsToWordpress
$ git push origin master
ssh: connect to host git.code.sf.net port 22: Connection timed out
fatal: The remote end hung up unexpectedly

如图:

ssh connect to host git.code.sf.net port 22 Connection timed out

即:

ssh: connect to host git.code.sf.net port 22: Connection timed out

【解决过程】

1.貌似是此处22端口被封?还是ssh网络不可用?

2.算了,暂时也没找到类似别人有此问题。估计是端口被封了。

抽空换个环境,再试试,估计就可以了。

 

【总结】

转载请注明:在路上 » 【未解决】win7下cygwin下git push origin master出错:ssh: connect to host git.code.sf.net port 22: Connection timed out

发表我的评论
取消评论

表情

Hi,您需要填写昵称和邮箱!

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址
83 queries in 0.186 seconds, using 22.22MB memory