华为云服务器获取一键式重置密码插件_云淘科技

操作场景

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

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

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

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

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

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

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

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

将步骤2获取的sha256 Hash值和步骤3获取的Hash值进行比较。

一致:通过校验。
不一致:请重新下载对应版本的一键式重置密码插件,重复步骤2~步骤4进行校验。

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

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

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

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

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

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

将步骤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

相关操作

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

安装一键式重置密码插件(单台操作)
更新一键式重置密码插件(单台操作)
更新一键式重置密码插件(批量操作-Linux系统root用户)
更新一键式重置密码插件(批量操作-Windows系统)

父主题: 一键式重置密码插件

内容没看懂? 不太想学习?想快速解决? 有偿解决: 联系专家