文档首页/ 裸金属服务器 BMS/ 用户指南/ 密钥对与密码/ 获取一键式重置密码插件
更新时间:2024-07-22 GMT+08:00

获取一键式重置密码插件

操作场景

若裸金属服务器“重置密码”失败,有可能是由于未安装一键式重置密码插件,您可以参考本章节获取一键式重置密码插件并校验其完整性。

获取完成后,您可以安装一键式重置密码插件

获取并校验一键式重置密码插件完整性(Linux)

  1. 以root用户登录裸金属服务器。
  2. 执行以下命令,下载一键式重置密码插件及sha256校验码。

    您可以根据裸金属服务器所在区域、操作系统是32位还是64位,参考一键式重置密码插件及sha256校验码下载地址选择对应的下载地址。

    以“华北-北京一”区域的32位x86操作系统为例:

    wget https://cn-north-1-cloud-reset-pwd.obs.cn-north-1.myhuaweicloud.com/linux/32/reset_pwd_agent/CloudResetPwdAgent.zip

    wget https://cn-north-1-cloud-reset-pwd.obs.cn-north-1.myhuaweicloud.com/linux/32/reset_pwd_agent/CloudResetPwdAgent.zip.sha256

  3. 执行以下命令,获取本地一键式重置密码插件的Hash值。

    sha256sum {软件包本地目录}/CloudResetPwdAgent.zip

    {软件包本地目录}:请根据实际下载目录进行替换。

  4. 将步骤2获取的sha256 Hash值和步骤3获取的Hash值进行比较。
    • 一致:通过校验。
    • 不一致:请重新下载对应版本的一键式重置密码插件,重复步骤2~步骤4进行校验。

获取并校验一键式重置密码插件完整性(Windows)

  1. 登录裸金属服务器。
  2. 下载一键式重置密码插件及sha256校验码。

    您可以根据裸金属服务器所在区域,参考一键式重置密码插件及sha256校验码下载地址选择对应的下载地址。

  3. 以管理员权限打开cmd,执行以下命令,获取本地一键式重置密码插件的Hash值。

    certutil –hashfile {软件包本地目录}\CloudResetPwdAgent.zip SHA256

    {软件包本地目录}:请根据实际下载目录进行替换。

  4. 将步骤2获取的sha256 Hash值和步骤3获取的Hash值进行比较。
    • 一致:通过校验。
    • 不一致:请重新下载对应版本的一键式重置密码插件,重复步骤2~步骤4进行校验。

一键式重置密码插件及sha256校验码下载地址

表1 一键式重置密码插件下载地址

区域

操作系统

文件名

下载地址

华北-北京一

Linux(x86_32)

CloudResetPwdAgent.zip

https://cn-north-1-cloud-reset-pwd.obs.cn-north-1.myhuaweicloud.com/linux/32/reset_pwd_agent/CloudResetPwdAgent.zip

sha256校验码

https://cn-north-1-cloud-reset-pwd.obs.cn-north-1.myhuaweicloud.com/linux/32/reset_pwd_agent/CloudResetPwdAgent.zip.sha256

Linux(x86_64)

CloudResetPwdAgent.zip

https://cn-north-1-cloud-reset-pwd.obs.cn-north-1.myhuaweicloud.com/linux/64/reset_pwd_agent/CloudResetPwdAgent.zip

sha256校验码

https://cn-north-1-cloud-reset-pwd.obs.cn-north-1.myhuaweicloud.com/linux/64/reset_pwd_agent/CloudResetPwdAgent.zip.sha256

Linux(aarch64)

CloudResetPwdAgent.zip

https://cn-north-1-cloud-reset-pwd.obs.cn-north-1.myhuaweicloud.com/arm/linux/64/reset_pwd_agent/CloudResetPwdAgent.zip

sha256校验码

https://cn-north-1-cloud-reset-pwd.obs.cn-north-1.myhuaweicloud.com/arm/linux/64/reset_pwd_agent/CloudResetPwdAgent.zip.sha256

Windows

CloudResetPwdAgent.zip

https://cn-north-1-cloud-reset-pwd.obs.cn-north-1.myhuaweicloud.com/windows/reset_pwd_agent/CloudResetPwdAgent.zip

sha256校验码

https://cn-north-1-cloud-reset-pwd.obs.cn-north-1.myhuaweicloud.com/windows/reset_pwd_agent/CloudResetPwdAgent.zip.sha256

华北-北京四

Linux(x86_64)

CloudResetPwdAgent.zip

https://cn-north-4-cloud-reset-pwd.obs.cn-north-4.myhuaweicloud.com/linux/64/reset_pwd_agent/CloudResetPwdAgent.zip

sha256校验码

https://cn-north-4-cloud-reset-pwd.obs.cn-north-4.myhuaweicloud.com/linux/64/reset_pwd_agent/CloudResetPwdAgent.zip.sha256

Windows

CloudResetPwdAgent.zip

https://cn-north-4-cloud-reset-pwd.obs.cn-north-4.myhuaweicloud.com/windows/reset_pwd_agent/CloudResetPwdAgent.zip

sha256校验码

https://cn-north-4-cloud-reset-pwd.obs.cn-north-4.myhuaweicloud.com/windows/reset_pwd_agent/CloudResetPwdAgent.zip.sha256

华东-上海二

Linux(x86_32)

CloudResetPwdAgent.zip

https://cn-east-2-cloud-reset-pwd.obs.cn-east-2.myhuaweicloud.com/linux/32/reset_pwd_agent/CloudResetPwdAgent.zip

sha256校验码

https://cn-east-2-cloud-reset-pwd.obs.cn-east-2.myhuaweicloud.com/linux/32/reset_pwd_agent/CloudResetPwdAgent.zip.sha256

Linux(x86_64)

CloudResetPwdAgent.zip

https://cn-east-2-cloud-reset-pwd.obs.cn-east-2.myhuaweicloud.com/linux/64/reset_pwd_agent/CloudResetPwdAgent.zip

sha256校验码

https://cn-east-2-cloud-reset-pwd.obs.cn-east-2.myhuaweicloud.com/linux/64/reset_pwd_agent/CloudResetPwdAgent.zip.sha256

Linux(aarch64)

CloudResetPwdAgent.zip

https://cn-east-2-cloud-reset-pwd.obs.cn-east-2.myhuaweicloud.com/arm/linux/64/reset_pwd_agent/CloudResetPwdAgent.zip

sha256校验码

https://cn-east-2-cloud-reset-pwd.obs.cn-east-2.myhuaweicloud.com/arm/linux/64/reset_pwd_agent/CloudResetPwdAgent.zip.sha256

Windows

CloudResetPwdAgent.zip

https://cn-east-2-cloud-reset-pwd.obs.cn-east-2.myhuaweicloud.com/windows/reset_pwd_agent/CloudResetPwdAgent.zip

sha256校验码

https://cn-east-2-cloud-reset-pwd.obs.cn-east-2.myhuaweicloud.com/windows/reset_pwd_agent/CloudResetPwdAgent.zip.sha256

华南-广州

Linux(x86_32)

CloudResetPwdAgent.zip

https://cn-south-1-cloud-reset-pwd.obs.cn-south-1.myhuaweicloud.com/linux/32/reset_pwd_agent/CloudResetPwdAgent.zip

sha256校验码

https://cn-south-1-cloud-reset-pwd.obs.cn-south-1.myhuaweicloud.com/linux/32/reset_pwd_agent/CloudResetPwdAgent.zip.sha256

Linux(x86_64)

CloudResetPwdAgent.zip

https://cn-south-1-cloud-reset-pwd.obs.cn-south-1.myhuaweicloud.com/linux/64/reset_pwd_agent/CloudResetPwdAgent.zip

sha256校验码

https://cn-south-1-cloud-reset-pwd.obs.cn-south-1.myhuaweicloud.com/linux/64/reset_pwd_agent/CloudResetPwdAgent.zip.sha256

Linux(aarch64)

CloudResetPwdAgent.zip

https://cn-south-1-cloud-reset-pwd.obs.cn-south-1.myhuaweicloud.com/arm/linux/64/reset_pwd_agent/CloudResetPwdAgent.zip

sha256校验码

https://cn-south-1-cloud-reset-pwd.obs.cn-south-1.myhuaweicloud.com/arm/linux/64/reset_pwd_agent/CloudResetPwdAgent.zip.sha256

Windows

CloudResetPwdAgent.zip

https://cn-south-1-cloud-reset-pwd.obs.cn-south-1.myhuaweicloud.com/windows/reset_pwd_agent/CloudResetPwdAgent.zip

sha256校验码

https://cn-south-1-cloud-reset-pwd.obs.cn-south-1.myhuaweicloud.com/windows/reset_pwd_agent/CloudResetPwdAgent.zip.sha256

中国-香港

Linux(x86_32)

CloudResetPwdAgent.zip

https://ap-southeast-1-cloud-reset-pwd.obs.ap-southeast-1.myhuaweicloud.com/linux/32/reset_pwd_agent/CloudResetPwdAgent.zip

sha256校验码

https://ap-southeast-1-cloud-reset-pwd.obs.ap-southeast-1.myhuaweicloud.com/linux/32/reset_pwd_agent/CloudResetPwdAgent.zip.sha256

Linux(x86_64)

CloudResetPwdAgent.zip

https://ap-southeast-1-cloud-reset-pwd.obs.ap-southeast-1.myhuaweicloud.com/linux/64/reset_pwd_agent/CloudResetPwdAgent.zip

sha256校验码

https://ap-southeast-1-cloud-reset-pwd.obs.ap-southeast-1.myhuaweicloud.com/linux/64/reset_pwd_agent/CloudResetPwdAgent.zip.sha256

Linux(aarch64)

CloudResetPwdAgent.zip

https://ap-southeast-1-cloud-reset-pwd.obs.ap-southeast-1.myhuaweicloud.com/arm/linux/64/reset_pwd_agent/CloudResetPwdAgent.zip

sha256校验码

https://ap-southeast-1-cloud-reset-pwd.obs.ap-southeast-1.myhuaweicloud.com/arm/linux/64/reset_pwd_agent/CloudResetPwdAgent.zip.sha256

Windows

CloudResetPwdAgent.zip

https://ap-southeast-1-cloud-reset-pwd.obs.ap-southeast-1.myhuaweicloud.com/windows/reset_pwd_agent/CloudResetPwdAgent.zip

sha256校验码

https://ap-southeast-1-cloud-reset-pwd.obs.ap-southeast-1.myhuaweicloud.com/windows/reset_pwd_agent/CloudResetPwdAgent.zip.sha256

亚太-曼谷

Linux(x86_32)

CloudResetPwdAgent.zip

https://ap-southeast-2-cloud-reset-pwd.obs.ap-southeast-2.myhuaweicloud.com/linux/32/reset_pwd_agent/CloudResetPwdAgent.zip

sha256校验码

https://ap-southeast-2-cloud-reset-pwd.obs.ap-southeast-2.myhuaweicloud.com/linux/32/reset_pwd_agent/CloudResetPwdAgent.zip.sha256

Linux(x86_64)

CloudResetPwdAgent.zip

https://ap-southeast-2-cloud-reset-pwd.obs.ap-southeast-2.myhuaweicloud.com/linux/64/reset_pwd_agent/CloudResetPwdAgent.zip

sha256校验码

https://ap-southeast-2-cloud-reset-pwd.obs.ap-southeast-2.myhuaweicloud.com/linux/64/reset_pwd_agent/CloudResetPwdAgent.zip.sha256

Linux(aarch64)

CloudResetPwdAgent.zip

https://ap-southeast-2-cloud-reset-pwd.obs.ap-southeast-2.myhuaweicloud.com/arm/linux/64/reset_pwd_agent/CloudResetPwdAgent.zip

sha256校验码

https://ap-southeast-2-cloud-reset-pwd.obs.ap-southeast-2.myhuaweicloud.com/arm/linux/64/reset_pwd_agent/CloudResetPwdAgent.zip.sha256

Windows

CloudResetPwdAgent.zip

https://ap-southeast-2-cloud-reset-pwd.obs.ap-southeast-2.myhuaweicloud.com/windows/reset_pwd_agent/CloudResetPwdAgent.zip

sha256校验码

https://ap-southeast-2-cloud-reset-pwd.obs.ap-southeast-2.myhuaweicloud.com/windows/reset_pwd_agent/CloudResetPwdAgent.zip.sha256