NVE:如何重設 SSH Rootid 密碼片語
Summary: 刪除 Secure Shell 和 rootid_passphrase_encrypted 檔案,並重新產生金鑰,以在 NetWorker Virtual Edition (NVE) 中的未知內容時,重設 Secure Shell (SSH rootid_key) rootid 密碼片語。
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.
Instructions
注意:此知識文章的內容取自 NetWorker Virtual Edition 部署指南。NVE 部署指南可透過以下方式取得:NetWorker 支援 |手冊與文件
重設 SSH rootid 密碼片語
請遵循這些步驟重設 SSH rootid passphrase 當未知時:
- 使用 SSH 以系統管理員使用者身分登入 NVE。
- 輸入命令以切換至根使用者
sudo su。 - 刪除
rootid_key和rootid_passphrase_encrypted檔案來自/usr/local/networker資料夾。 - 產生
rootid與adminkey無密碼片語。 - 套用最新的
NVEUpgrade。
步驟 3 和 4 的詳細資料如下:
# Change directory to /usr/local/networker cd /usr/local/networker # Delete rootid_key and rootid_passphrase_encrypted files rm -rf rootid_key rootid_passphrase_encrypted # Generate rootid without passphrase ssh-keygen -q -t ecdsa -b 521 -N "" -C "root@`hostname`" -f /root/.ssh/rootid # Generate adminkey without passphrase ssh-keygen -q -t ecdsa -b 521 -N "" -C "admin@`hostname`" -f /home/admin/.ssh/admin_key
注意:如果系統提示您覆寫,請按一下 是。
Additional Information
NVE 將繼續在沒有密碼的情況下運行。在下一次升級(特別是 19.12.x 及更高版本)期間,將提示您創建新密碼;從而重新啟用密碼保護
Affected Products
NetWorker Family, NetWorkerArticle Properties
Article Number: 000333905
Article Type: How To
Last Modified: 03 Nov 2025
Version: 3
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.