Translated message

A translation of this page exists in English.

安全でない MAC を削除した後でもシステムへの ssh 接続が可能

Solution In Progress - Updated -

Issue

  • ターゲットシステムで MAC が無効になっている場合でも、ssh ログインが可能です。
[root@target-system ~]$ cat /etc/ssh/sshd_config
<<snip>>
Ciphers chacha20-poly1305@openssh.com,aes128-gcm@openssh.com,aes256-gcm@openssh.com,aes128-ctr,aes192-ctr,aes256-ctr
MACs umac-128-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha1-etm@openssh.com,umac-128@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-sha1   ###<< removed umac-64-etm@openssh.com
<<snip>>

[system@myhost]$ ssh -oMACs=umac-64-etm@openssh.com -l testuser target-system
Last login: Wed Jul  5 10:25:12 2023 from 10.214.240.86
[testuser@target-system ~]$

Environment

  • Red Hat Enterprise Linux 8
  • 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