阿里云服务器重置实例登录密码教程

".extra-menu { background-color: #f3f3f3; padding: 20px; } .extra-menu .extra-menu-h { height: 36px; } .extra-menu .extra-menu-h h3 { display:inline-block; } .extra-menu ul a{ text-decoration: none; } .extra-menu .menu-child { text-indent: 4em; } .extra-menu .menu-child:before { left: 4em; } .extra-menu .extra-menu-h h3 { line-height: 36px; } .collapse-toggle { float: right; cursor: pointer; user-select: none; display: inline-flex; align-items: center; font-size: 14px; } .collapse-toggle img { width: 30%; transform: rotate(180deg); } .collapse-content { margin-bottom: 0px !important; margin-top: 20px !important; overflow: hidden; max-height: 0; transition: max-height 0.3s ease-out; } .collapse-content.expanded { max-height: 1000px; /\* 设置一个足够大的值,确保内容可以完全展开 \*/ } .ph-id { position: relative; top: -90px; } jQuery(document).ready(function( $ ) { $('.collapse-toggle').on('click',function(){ var content = document.querySelector('.collapse-content'); content.classList.toggle('expanded'); if (content.classList.contains('expanded')) { $(this).find('div').text('收起'); $(this).find('img').css('transform','rotate(180deg)'); } else { $(this).find('div').text('展开'); $(this).find('img').css('transform','rotate(0deg)'); } }) })

如果我们在创建[阿里云](/#)服务器ECS实例时未设置密码,或者创建ECS实例后忘记了密码,则需要重新为该实例设置登录密码。本文将介绍下使用阿里云服务器ECS控制台重置实例登录密码的操作步骤。

1、登录到阿里云服务器ECS管理控制台。在左侧导航栏,选择实例与镜像 > 实例。

2、在顶部菜单栏左上角处,选择地域。根据实例数量,选择一种方式修改登录密码。

①修改一台实例的登录密码:找到实例,在操作列中,选择更多 > 密码/密钥 > 重置实例密码。

![](https://www.idcspy.com/wp-content/uploads/2022/05/de-1.jpg)

②修改多台实例的登录密码:选中实例,然后在列表底部单击重置实例密码。

![](https://www.idcspy.com/wp-content/uploads/2022/05/de1.jpg)

3、在弹出的重置密码对话框中,输入并确认新登录密码,然后单击提交。要求实例登录密码的长度为8~30个字符,且至少包括以下字符类型中的三项:

* 大写字母
* 小写字母
* 数字
* 特殊字符,支持 ( ) \` ~ ! @ # $ % ^ & \* – \_ + = | { } \[ \] : ; ‘ < > , . ? / 。

要注意的是,如果创建的是Windows实例,那么设置登录密码不能以正斜线(/)作为首字符。

修改好ECS实例的登录密码后,我们还需要重启或启动实例使新登录密码生效。

4、根据阿里云服务器ECS实例的状态,选择一种方式使新登录密码生效。

* 如果实例处于运行中状态,单击立即重启。
* 如果实例处于已停止状态,下次启动实例时即生效。"

松果号 作者:松果号原创文章,如若转载,请注明出处:https://www.6480i.com/archives/103773.html

(0)
松果号松果号
上一篇 4天前
下一篇 4天前

推荐阅读

发表回复

登录后才能评论