Accessing a VCS Instance via Recovery Mode

Classification: BLOG, Compute

If you are unable to log in to your VCS Linux instance via standard SSH connection due to specific configuration changes or a lost key pair file, you can follow these steps (using Ubuntu as an example) to enter Safe Mode, create a password-based account, and repair the instance.

 

Procedure

 

Step 1. Connecting VCS from Console

 

Please passQuick debugging and maintenance tool: VCS Console Connecting to VCS

Step 2. Enter safe mode

 

Click SendCtrlAltDel at the top right of the Console, then immediately and repeatedly press the Esc key on your keyboard.

※ You must press Esc very quickly. If you fail to reach Step 3, please repeat Step 2.

Step 3. Select Advanced options for Ubuntu

Step 4. Select recovery mode

Step 5. Select root

Step 6. Create account password

 

  • Press Enter
  • Type `passwd ubuntu`: Set a password for the account "ubuntu".
  • Enter password
  • Enter password again

Step 7. Reboot

 

Select SendCtrlAltDel in the upper right corner of the Console to restart.

Step 8. Log in with your username and password

 

After the system restarts, you can log in to your VCS instance by entering your username and password.

  • Account: ubuntu
  • Password: The password you created

EDM Subscription

EDM Subscription

On-Demand AI Cloud Consulting

Sales Contact
Sales Contact Form