Translated message

A translation of this page exists in English.

RHEL9: プロキシー経由の ssh が "kex_exchange_identification: Connection closed by remote host" で失敗する

Solution In Progress - Updated -

Issue

  • ssh をプロキシー(HTTP、SOCKS など) で設定する場合、以下の例のように ssh セッションは、認証の直前に失敗します。

    $ ssh -o ProxyCommand="nc --proxy <proxy:8080> --proxy-type http %h %p" <user>@<remote-system> true
    kex_exchange_identification: Connection closed by remote host
    Connection closed by UNKNOWN port 65535
    

Environment

  • Red Hat Enterprise Linux 9
    • nmap-ncat

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content