Workbench is a browser-based remote connection tool from Alibaba Cloud. It lets you connect directly to Linux instances, including those without a public IP address.
Prerequisites
-
Instance status: The instance must be in the Running state, and its Health Status must be Normal.
-
RAM permissions: RAM users must have the required permissions to use Workbench.
Method 1: Password-free login (Recommended)
Password-free login uses Session Manager by default. If Session Manager is not enabled, it uses a temporary SSH key pair instead.
-
Log on to the ECS console - Instances. In the top navigation bar, select a resource group and a region.
-
Find the target instance and click Connect. In the dialog box, for the Workbench option, click Sign in now.
-
On the Workbench Instance Login page, select Password-free login, enter a User Name, and then click Log In.
The following output indicates a successful login.
Welcome to Alibaba Cloud Elastic Compute Service ! Updates Information Summary: available 29 Security notice(s) 13 Important Security notice(s) 16 Moderate Security notice(s) Run "dnf upgrade-minimal --security" to apply all updates.More details please refer to: https://help.aliyun.com/document_detail/416274.html Last login: Mon Aug 18 14:32:23 2025 from 1xxx.xxx.xxx.xxx4 [root@ixxx xxx Z ~]#
A Workbench remote connection session lasts for a maximum of 6 hours. A session also automatically disconnects after a long period of inactivity. In either case, you must reconnect. We recommend that you run long-running tasks in the background.
Method 2: SSH connection
-
Log on to the ECS console - Instances. In the top navigation bar, select a resource group and a region.
-
Find the target instance and click Connect. In the dialog box, for the Workbench option, click Sign in now.
-
On the Workbench Instance Login page, configure the following parameters and click Log In.
Parameter
Description
Instance
The information about the current instance is automatically populated.
Connection Method
Select SSH connection. This method uses the SSH protocol to connect to the instance.
Authentication Method
ImportantSSH key authentication is more secure than password-based authentication. We recommend that you bind an SSH key pair and use it to log on for enhanced security.
SSH key authentication
-
User Name: The default username for a Linux instance is
root.If you specified
ecs-useras the username when you created the instance, enterecs-user. -
Private key: Enter the content of your private key. If the private key is protected by a passphrase, you must also enter the Passphrase.
To avoid entering the username and private key for each login, you can save the key as a credential.
-
SSH Port (Optional): The default SSH connection port is 22. You can change the port on the Instance Login page under .
Password authentication
-
User Name: The default username for a Linux instance is
root.If you specified
ecs-useras the username when you created the instance, enterecs-user. -
Password: If you have forgotten your password or have not set one, you must reset the password.
To avoid entering the username and password for each login, you can save the password as a credential.
-
SSH Port (Optional): The default SSH connection port is 22. You can change the port on the Instance Login page under .
After you click Log In, you may be prompted to add a security group rule to allow access from the Workbench IP address ranges to the instance's SSH port (default is 22). You can click Add Now to quickly configure the security group. The console displays the specific rule that is added.
The following output indicates a successful login.
Welcome to Alibaba Cloud Elastic Compute Service ! Updates Information Summary: available 29 Security notice(s) 13 Important Security notice(s) 16 Moderate Security notice(s) Run "dnf upgrade-minimal --security" to apply all updates.More details please refer to: https://help.aliyun.com/document_detail/416274.html Last login: Mon Aug 18 15:49:18 2025 from xxx.xxx.xxx.xxx [root@xxx ~]# -
A Workbench remote connection session lasts for a maximum of 6 hours. A session also automatically disconnects after a long period of inactivity. In either case, you must reconnect. We recommend that you run long-running tasks in the background.
FAQ
Save passwords and SSH keys
To avoid entering your username and password every time you log on, you can save them as a credential for future use.
Credentials are private and can only be used by the user who created them.
-
Save a login credential
When you log on to an instance, select the Save login credential option. Workbench saves the credential after a successful login.
In the Workbench login dialog box, select Save login credentials to Workbench for quick login, and then click Log In.
-
Log on with a credential
To log on to an instance by using a saved credential, select the Use Credential option.
-
Click the Use Credential link next to the username field.
-
In the Select Saved Credential panel, click the target credential (for example,
root_2025/11/11 16:15:58) to auto-fill the connection authentication information.
-
How does password-free login work?
By default, password-free login uses a temporary SSH key pair. However, if Session Manager is enabled, the connection is preferentially established through the Session Manager channel.
How Workbench connects over a private network
When Workbench connects to an instance using a private IP address, Workbench automatically creates a reverse access rule in the instance's VPC to establish a secure, bidirectional communication channel. You can view or manage the rule in .
Default username of Linux instances
The default username for a Linux instance is root. If you selected ecs-user when you created the instance, use ecs-user.
Default instance password
Instances do not have a default or initial password. To set a password, you must reset the password.
Troubleshoot remote connection failures
If you cannot connect to an instance remotely, first use the self-service diagnostic tool below. You can also refer to Troubleshooting common connection issues for Linux instances.
-
Click to open the Diagnostics page and select the target region.
-
Under Instance Cannot Connect, click Start diagnosis. Select the affected instance and click Start diagnosis as prompted.
After the diagnosis is complete, the diagnostic report shows 2 abnormal results:
-
Warning: SSH Service Status Check. The SSH configuration of this instance prohibits root account login. The file
/etc/ssh/sshd_configis configured to deny remote access for the root account. Click the link in the fix suggestion to view the solution. -
Notice: Common ports not opened in inbound security group rules.
-
-
After the diagnosis is complete, follow the prompts to resolve the issue.