Как ssh-клиент, putty работает, но git bash не работает

446
the1900

Среды

  • Хост ОС: Win 10 x64 (xxx141)
  • ОС Hyper-v: CentOS 7 x64 (сервер ssh xxx142)
  • Замазка версия: 0.67
  • Версия git bash (git для windows): v2.11.0.windows.1

Я пытаюсь использовать Git Bash в качестве клиента SSH. Когда я подключаюсь к CentOS от localhost. Эти замазки, Git-bash тоже работают. После настроенной переадресации портов, только замазка работает вне сети.

Это журнал Git Bash, и я ничего не трогал.

debug2: MACs stoc: hmac-md5-etm@openssh.com,hmac-sha1-etm@openssh.com,umac-64-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-ripemd160-etm@openssh.com,hmac-sha1-96-etm@openssh.com,hmac-md5-96-etm@openssh.com,hmac-md5,hmac-sha1,umac-64@openssh.com,umac-128@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-ripemd160,hmac-ripemd160@openssh.com,hmac-sha1-96,hmac-md5-96 debug2: compression ctos: none,zlib@openssh.com debug2: compression stoc: none,zlib@openssh.com debug2: languages ctos: debug2: languages stoc: debug2: first_kex_follows 0 debug2: reserved 0 debug1: kex: algorithm: curve25519-sha256@libssh.org debug1: kex: host key algorithm: ecdsa-sha2-nistp256 debug1: kex: server->client cipher: chacha20-poly1305@openssh.com MAC: <implicit> compression: none debug1: kex: client->server cipher: chacha20-poly1305@openssh.com 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 

Кажется, успешно обмениваются алгоритмами друг с другом после установления соединения. Я не знаю, что идет не так. Пожалуйста, помогите мне.

0
Это установлено? На какой ОС предполагается запустить? Если на Windows, почему мы должны заботиться о ВМ? Hex 7 лет назад 0
@Hex О, ты уже видел, когда я редактировал свой вопрос. Я знаю, вы думали, что мой вопрос не показывает много информации, чтобы спросить. Это была мисс клик. the1900 7 лет назад 0

0 ответов на вопрос

Похожие вопросы