作為 ssh 客戶端,putty 可以工作,但 git bash 不起作用

作為 ssh 客戶端,putty 可以工作,但 git bash 不起作用

環境

  • 主機作業系統:Win 10 x64(xxx141)
  • Hyper-v作業系統:CentOS 7 x64(ssh伺服器xxx142)
  • 膩子版本:0.67
  • Git bash版本(git for windows):v2.11.0.windows.1

我嘗試使用 Git bash 作為 SSH 客戶端。當我從本地主機連接到 CentOS 時。那些 putty、Git-bash 也可以工作。配置連接埠轉送後,只有 putty 在網路外部工作。

這是 Git bash 的日誌,我沒有碰任何東西。

debug2: MACs stoc: [email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],hmac-md5,hmac-sha1,[email protected],[email protected],hmac-sha2-256,hmac-sha2-512,hmac-ripemd160,[email protected],hmac-sha1-96,hmac-md5-96
debug2: compression ctos: none,[email protected]
debug2: compression stoc: none,[email protected]
debug2: languages ctos:
debug2: languages stoc:
debug2: first_kex_follows 0
debug2: reserved 0
debug1: kex: algorithm: [email protected]
debug1: kex: host key algorithm: ecdsa-sha2-nistp256
debug1: kex: server->client cipher: [email protected] MAC: <implicit> compression: none
debug1: kex: client->server cipher: [email protected] MAC: <implicit> compression: none
debug1: expecting SSH2_MSG_KEX_ECDH_REPLY
ssh_dispatch_run_fatal: Connection to x.x.x.90 port x: Software caused connection abort

建立連線後似乎成功地相互交換了演算法。我不知道出了什麼問題。請幫我。

相關內容