How to set the user root password and remote connection method for Alibaba Cloud ECS instance

How to set the user root password and remote connection method for Alibaba Cloud ECS instance

After purchasing an Alibaba Cloud server, you need to set a root login password for the new instance before it can operate normally, otherwise you will not be able to log in. Resetting the instance login password is applicable when no password is set when the instance is newly created or the password is forgotten. For a running instance, you need to restart the instance after resetting the instance login password for the new password to take effect, but be aware of the impact of the restart operation on the business.

1. Steps to reset the root login password

To change the login password for one or more instances on the console, follow these steps:

1. Log in to the ECS management console.

2. In the left navigation bar, click Instances.

3. Select a region.

4. Perform different operations based on the number of instances for which you need to modify passwords: To modify the login password of an instance: Select the instance, and in the Action column, select More -> Password/Key -> Reset instance password.

5. In the pop-up "Reset Password" dialog box, set a new password that meets the requirements and click "Submit".

6. Perform different operations according to the status of the instance: Running instance: Restart the instance to make the new password take effect; Stopped instance: The new password automatically takes effect after starting the instance.

2. Root user login method

1. Local simulation tool link

Download the terminal emulation tool: XShell SecureCRT, then enter the user name and password to log in directly.

2. Management console "Remote connection"

Simply open the right side of the instance, find the "Remote Connection" option, and click to open it. As shown in the figure:

This is the end of this article about how to set the user root password and remote connection for Alibaba Cloud ECS instances. For more information about setting the user root password and remote connection for Alibaba Cloud, please search for previous articles on 123WORDPRESS.COM or continue to browse the following related articles. I hope you will support 123WORDPRESS.COM in the future!

You may also be interested in:
  • Alibaba Cloud ECS Server Getting Started Process (Must-Read Tutorial for Newbies)
  • How to open port 8080 on Alibaba Cloud ECS server
  • How to deploy Django on Alibaba Cloud ECS server
  • Alibaba Cloud ECS cloud server (linux system) cannot connect remotely after installing MySQL (pitfall)
  • Alibaba Cloud ECS CPU 100% Troubleshooting Analysis

<<:  Implementing add, delete, modify and query operations on MySQL based on sqlalchemy

>>:  Vue echarts realizes horizontal bar chart

Blog    

Recommend

Nginx reverse proxy springboot jar package process analysis

The common way to deploy a springboot project to ...

How to restore a single database or table in MySQL and possible pitfalls

Preface: The most commonly used MySQL logical bac...

js uses Canvas to merge multiple pictures into one implementation code

Solution function mergeImgs(list) { const imgDom ...

JavaScript to achieve simple image switching

This article shares the specific code for JavaScr...

Code comment writing standards during web page production

<br />I have summarized the annotation writi...

Detailed explanation of the two modes of Router routing in Vue: hash and history

hash mode (default) Working principle: Monitor th...

Detailed explanation of HTML basics (Part 1)

1. Understand the WEB Web pages are mainly compos...

Detailed steps for installing MySQL using cluster rpm

Install MySQL database a) Download the MySQL sour...

js realizes packaging multiple pictures into zip

Table of contents 1. Import files 2. HTML page 3....

Pure CSS to implement iOS style open and close selection box function

1 Effect Demo address: https://www.albertyy.com/2...

MySQL detailed summary of commonly used functions

Table of contents MySQL Common Functions 1. Numer...

Linux bridge method steps to bridge two VirtualBox virtual networks

This article originated from my complaints about ...

Summary of methods to prevent users from submitting forms repeatedly

Duplicate form submission is the most common and ...