If you are unable to log in to your VCS Linux instance via SSH due to changes in specific settings or a lost key pair file, you can follow these steps (using Ubuntu as an example) to establish an account and password connection in safe mode to access the VCS instance and resolve the issue.
Detailed Steps
Step 1. Connecting VCS from Console
Please passTWSC VCS Console: A quick debugging and maintenance tool Connecting to VCS
Step 2. Enter safe mode
Click SendCtrlAltDel in the upper right corner of the Console, then immediately press the Esc key on your keyboard repeatedly.
※Please press the Esc key quickly. If you cannot proceed to 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
