Avamar - 安装 2024 R1 操作系统安全汇总后,“sshd -t”命令返回“弃用的选项”
Summary: 在“test mode”模式下运行 sshd 命令会生成一条关于 UsePrivilegeSeparation 选项被弃用的警告。
This article applies to
This article does not apply to
This article is not tied to any specific product.
Not all product versions are identified in this article.
Symptoms
该命令的输出如下所示:
root@avamar:/etc/ssh/#: sshd -t /etc/ssh/sshd_config line 152: Deprecated option UsePrivilegeSeparation
Cause
2024 R1 操作系统安全汇总已将 Avamar 上的 OpenSSH 从版本 7.2 升级到版本 8.4。UsePrivilegeSeparation 选项在 OpenSSH 版本 7.5 中已弃用,因此必须进行此设置。
Resolution
- 以管理员用户身份登录到 Avamar Server。
- 将权限提升至 root:
su -
- 编辑 /etc/ssh/sshd_config 文件并注释掉第 152 行中的设置。更改此行:
UsePrivilegeSeparation no
这应该是结果:
#UsePrivilegeSeparation no
- 保存更改并测试配置:
sshd -t
- 重新启动 sshd 服务
systemctl restart sshd.service
- 警告不应再次出现。
Affected Products
Avamar ServerArticle Properties
Article Number: 000226746
Article Type: Solution
Last Modified: 05 Aug 2025
Version: 2
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.