Translated message

A translation of this page exists in English.

SSH を使用してシステムにログインできず、接続がすぐに切断され、監査ログに "comm="sshd" reason="memory violation" sig=31" というメッセージが表示される

Solution In Progress - Updated -

Issue

  • ssh を使用してシステムにログインしようとすると、接続が自動的に閉じます。ssh -vvv コマンドを実行すると、ssh が鍵交換要求を送信した後、リモート側が接続を閉じていることがわかります。

    $ ssh -vvv <user>@<system>
    [...]
    debug1: kex: client->server aes128-ctr hmac-sha1 none
    debug1: SSH2_MSG_KEX_DH_GEX_REQUEST(1024<2048<8192) sent
    debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP
    debug3: Wrote 24 bytes for a total of 909
    Read from socket failed: Connection reset by peer
    
  • サーバー側では、監査ログに reason="memory violation" sig=31 というメッセージが表示されます。

    type=ANOM_ABEND msg=audit([...]): auid=... uid=74 gid=74 ses=... pid=30503 comm="sshd" reason="memory violation" sig=31
    

Environment

  • Red Hat Enterprise Linux 7 以降
    • openssh

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