Avamar - 安裝 2024 R1 作業系統安全性匯總後,「sshd -t」命令傳回「已棄用選項」
Summary: 以「測試模式」執行 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 版。OpenSSH 版本 7.5 中已淘汰 UsePrivilegeSeparation 選項,因此必須進行此設定。
Resolution
- 以系統管理員使用者身分登入 Avamar 伺服器。
- 將權限提升至 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.