更新时间:2024-08-12 GMT+08:00
分享

获取ECS一键式重置密码插件

操作场景

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

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

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

    您可以根据弹性云服务器所在区域、操作系统是32位还是64位,参考表1选择对应的下载地址。

    为了便于您通过内网下载一键式重置密码插件,我们提供了不同区域的下载地址,不同区域、相同操作系统的插件相同。

    如果表1中不包含您的弹性云服务器所在区域,请您为弹性云服务器绑定EIP,然后选择就近区域进行下载。

    绑定EIP的详细操作,请参见绑定弹性公网IP

    以“华北-北京一”区域的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

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

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

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

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

    您可以根据弹性云服务器所在区域,参考表1选择对应的下载地址。

    如果表1中不包含您的弹性云服务器所在区域,请您为弹性云服务器绑定EIP,然后选择就近区域进行下载。

    绑定EIP的详细操作,请参见绑定弹性公网IP

  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

相关文档