小编Jan*_*uka的帖子

错误的 SSH2 mac 规范 EC2

我正在尝试禁用我的 ec2 实例中的任何弱密码/算法。我在以下行中添加了/etc/ssh/sshd_config

...
Ciphers aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,arcfour
MACs hmac-sha1,umac-64@openssh.com,hmac-ripemd160,hmac-sha2-256,hmac-sha2-512,hmac-ripemd160@openssh.com
...
Run Code Online (Sandbox Code Playgroud)

当我尝试重新启动该sshd服务时,它没有正确重新启动。所以我做了;

sshd -t
Run Code Online (Sandbox Code Playgroud)

我收到以下错误:

错误的 SSH2 mac 规范 'hmac-sha1,umac-64@openssh.com,hmac-ripemd160,hmac-sha2-256,hmac-sha2-512,hmac-ripemd160@openssh.com'

有人可以帮我解决这个问题吗?

sshd版本是OpenSSH_8.0p1, OpenSSL 1.1.1k FIPS 25 Mar 2021

linux ssh

4
推荐指数
1
解决办法
5897
查看次数

标签 统计

linux ×1

ssh ×1