All Products
Search
Document Center

Simple Application Server:Connect to a simple application server by using the rescue feature

Last Updated:Sep 14, 2024

If you cannot connect to a simple application server by using Workbench or a third-party remote connection tool, such as PuTTY, Xshell, or SecureCRT, you can use the rescue feature in the Simple Application Server console to connect to the server by using Virtual Network Computing (VNC) to troubleshoot the issue.

Note

You cannot upload or download files over rescue connections. In a low-bandwidth network environment, latency, stuttering, or image quality degradation may occur on rescue connections. If you do not have special requirements, we recommend that you connect to a simple application server by using Workbench or a third-party client. For more information, see Connect to a Linux server and Connect to a Windows server.

Scenarios

  • Troubleshooting

    If you cannot connect to a simple application server by using Workbench or a third-party remote connection tool, such as PuTTY, Xshell, or SecureCRT, due to high vCPU utilization or modifications to the SSH configurations, you can connect to the server by using VNC to troubleshoot the issue.

  • GUI logon

    After you build a GUI on a simple application server that runs an operating system such as Ubuntu, connect to the server by using VNC to use the server.

Prerequisites

  • A password is configured for the simple application server to which you want to connect by using the rescue feature. For more information, see Set or reset server passwords.

  • The simple application server is in the Running state.

Procedure

Note

By default, a rescue connection session lasts for about 300 seconds. If you do not perform operations within 300 seconds, the rescue connection to the simple application server is automatically closed. You must reconnect to the server.

  1. Log on to the Simple Application Server console.

  2. In the left-side navigation pane, click Servers.

  3. In the card of the simple application server that you want to manage, click Remote Connection.

    image

  4. In the Rescue Logon section of the Remote Connection dialog box, click Log on Now.

    You are directed to the rescue connection page of the simple application server. If you are not directed to the rescue connection page of the simple application server, check whether the rescue connection request is blocked by the web browser.

    image

  5. Connect to the simple application server by using the rescue feature.

    Connect to a Linux server

    1. Enter a username, such as root, and press the Enter key.

    2. Enter the logon password that corresponds to the username that you entered and press the Enter key.

      Note
      • To prevent security issues such as password leakage, the characters of the password are hidden when you enter the password. Make sure that you enter the correct password.

      • If you want to copy a long text, such as a file download URL, from your on-premises device to the server, click copy command in the upper-right corner of the rescue connection page. In the dialog box that appears, paste the command.

      If the information shown in the following figure is displayed, the logon is successful.

      image

      You can use shortcuts CTRL+ALT+F1 to CTRL+ALT+F10 to switch between different VNC terminals to connect to the simple application server. Each VNC terminal can run different programs. By default, CTRL+ALT+F1 is used. For example, in the upper-left corner of the rescue connection page, choose image.png > CTRL+ALT+F2 to switch to the VNC terminal mapped to the CTRL+ALT+F2 shortcut.

      image

    Connect to a Windows server

    1. (Conditionally required) If the Windows server desktop is locked, choose image.png > CTRL+ALT+DELETE in the upper-left corner of the page.

      image.png

    2. On the Windows administrator logon page, enter the logon password of the server and press the Enter key.win2012登录界面

FAQ

Question 1: After I connect to a simple application server by using the rescue feature and do not perform operations for a period of time, why does the rescue connection page display a white screen?

Answer 1: By default, a rescue connection session lasts for about 300 seconds. If you do not perform operations within 300 seconds, the rescue connection to the simple application server is automatically closed. In this case, you must close the current rescue connection page and reconnect to the server by using the rescue feature.

Question 2: Why am I unable to connect to a simple application server by using the rescue feature?

Answer 2: The server system may be stuck due to high vCPU utilization and high memory usage. We recommend that you restart the simple application server during off-peak hours and try again.

References