インフラストラクチャーと管理

クラウドコンピューティング

ストレージ

ランタイム

統合および自動化

  • Comments
  • Which SSH-Key was used for loggin in to a machine?

    掲載日

    Hello,

    When a SSH-Public-Key-Authentication is successful, the file /var/log/secure shows entries similar to this one:

    Jun 13 15:31:09 hostname sshd[22293]: Accepted publickey for root from X.X.X.X port 55943 ssh2: RSA cd:33:39:38:f7:e3:49:b1:a6:3f:8d:8f:cc:69:d7:c3
    

    I like to know which public key was used for the login. Is there any way to connect the RSA fingerprint/hash to the corresponding ssh-public-key?

    Thanks in advance for your help.

    Best regards,
    Joerg K.

    投稿者

    ポイント

    応答

    Red Hat LinkedIn YouTube Facebook X, formerly Twitter

    クイックリンク

    ヘルプ

    サイト情報

    他の Red Hat サイト

    © 2026 Red Hat