ssh_exchange_identification: Connection closed by remote host under Git bash

后端 未结 26 2865
梦谈多话
梦谈多话 2021-01-30 08:57

I work at win7 and set up git server with sshd. I git --bare init myapp.git, and clone ssh://git@localhost/home/git/myapp.git in Cywgin

26条回答
  •  轮回少年
    2021-01-30 09:08

    Similar to Arun Sangal the problem lied in an in .ssh/config entry

    Host my.sshhost.com
      ProxyCommand ssh -q -W %h:%p myremotemachine.my.company.com
    

    The remote machine was added to avoid with ssh for VPN connections and worked well. But for the vacation period I switched off the myremotemachine and run into the described problem.

提交回复
热议问题