Help Center/ Cloud Bastion Host/ User Guide/ Resource Operation/ Host Operations/ Using a Web Browser to Log In to a Host Resource for Operation
Updated on 2026-11-09 GMT+08:00

Using a Web Browser to Log In to a Host Resource for Operation

After you log in to a host resource using a web browser, the cooperation, file management, file transfer, and command preset functions are available to you. A bastion host can log all activities performed on a host resource. Logs can be used for audits.

  • Cooperation: This function allows the session initiator to invite other system users to participate in the current session by sharing the session link with them.
  • File management: After you obtain operation permission for the session you are participating in, you can manage files and folders on managed hosts and their attached net disks through the right pane of the session window. You can:
    • Create new folders.
    • Change the name of a file or folder.
    • Delete files or folders in batches.
  • File transfer: This function allows session participants to download or upload files or folders on the host or host net disk after they obtain the operation permissions. They can:
    • Upload and download files.
    • Upload folders.
    • Upload multiple files on a local server or net disk to a host or download multiple files from a host to a local server or net disk, if Host Files is selected as the destination address.
    • Upload multiple files or a folder to a host net disk or download multiple files from a host net disk to a local host, if Netdisk is selected as the destination address.

This topic describes how to log in to a host using a web browser and how to perform operations in the session window of the hosts using character or image protocols.

Precautions

During O&M, bastion hosts automatically record videos for audit. To prevent sensitive information leakage, do not enter sensitive information that is displayed in plaintext during O&M.

Constraints

  • Only hosts using character protocols (SSH and Telnet) or image protocols (RDP and VNC) can be logged in using a web browser.
  • The file transfer and management functions are unavailable for hosts using the Telnet protocol.
  • Although using a web browser for operations allows you to copy and paste a large number of characters without garbled bytes, a maximum of 1024 KB can be copied.
  • If you log in to a bastion host as a non-admin user and want to manage Windows host resources, deselect the admin console. To do so, go to the Operation > Host Operations page, click Web OPS Settings in the upper right corner, then deselect admin console.

Prerequisites

  • You have the management permissions for the Host Operations module.
  • You have obtained the access permissions for the resources.
  • The network connection between the managed host and the system is normal, and the account username and password for logging in to the managed host are correct.

Step 1: (Optional) Set the Operation Type to H5 Page

By default, the Operation Type of hosts using SSH, Telnet, RDP, and VNC protocols is H5 Page. You do not need to perform this step. If the Operation Type has been changed during routine O&M, set it to H5 Page before performing HTML5-based O&M.

  1. Log in to your bastion host system.
  2. In the navigation on the left, choose Operation > Host Operations to go to the Host Operations page.
  3. Click Web OPS Settings in the upper right corner.
  4. Set Operation Type to H5 Page for the following protocols:

    • RDP and VNC: On the RDP tab, set Operation Type to H5 Page.
    • SSH: On the SSH tab, set Operation Type to H5 Page.
    • Telnet: On the TELNET tab, set Operation Type to H5 Page.

  5. Click OK.

Step 2: Log in to the Host using a Web Browser

  1. Log in to your bastion host system.
  2. In the navigation on the left, choose Operation > Host Operations to go to the Host Operations page.
  3. Quickly search for the target host.

    1. Expand Resource Group on the left to check the resource group view.

      In the Personal Resource Group or Public Resource Group area on the left of the content pane, click a resource group name. Then only the host or database resources in the selected resource group will be displayed in the list. If no resource group is selected, all host or database resources are displayed by default.

    2. Above the host list, enter a keyword in the search box to quickly search for resources by host name or address.

  4. In the Operation column of the target host, click Login. The host session window is displayed.

    • Session window of hosts using the SSH or Telnet protocol
      Figure 1 Session window of hosts using the SSH protocol
      Table 1 Linux host O&M window description

      Parameter

      Description

      Encode

      The character protocol supports multiple encoding formats.

      Copy/Paste

      Select the characters, press Ctrl+C to copy it, and press Ctrl+V to paste it.

      Preset command

      You can preset commands that are long and frequently used.

      Terminal Type

      The character protocol supports terminal type switching, including Linux and Xterm.

      Mass sending

      When the group sending function is enabled, you can run commands in multiple sessions at the same time.

      Font size

      There are three types of font sizes: large, medium, and small.

      Copy window

      You can copy the current session window.

      Full screen

      Displays the window in full screen.

    • Session window of hosts using the RDP or VNC protocol
      Figure 2 Session window of hosts using the RDP protocol
      Table 2 Windows host O&M window description

      Parameter

      Description

      Copy/Paste

      Remote text: Select the character you want, press Ctrl+C twice to copy the character, and press Ctrl+V to paste the character.

      Remote machine files: Select a text or image, press Ctrl+B to copy it, and press Ctrl+G to paste it.

      Resolution

      You can switch the resolution of the current operation interface. During the switching, a new connection is created.

      Switch to remote mouse

      You can switch over between the local mouse and remote mouse.

      Windows

      This Windows icon can be used for easy access to Windows system functions.

      Ctrl+Alt+Delete

      Lock the screen.

      Copy window

      You can copy the current session window.

      Full screen

      Displays the window in full screen.

Common O&M Operation: File Transfer (Only Supported by SSH and RDP)

You can upload or download files in the web browser session window to transfer files between your local host and the managed host or between different managed hosts. The PBH system records the entire file transfer process in detail, allowing you to audit file uploads and downloads.

Netdisk is a personal net disk in a bastion host system, which is preset for each system user. A user can temporarily store files on it for file transfer between managed hosts. The file content on a user's personal net disk is invisible to other users.

Netdisk is directly associated with each system user. If a user is deleted, the files on the personal net disk are cleared and the personal net disk space is released.

Notes and Constraints

  • Currently, when you use a web browser for O&M, files can be uploaded or downloaded only on the hosts using the SSH or RDP protocol. For the hosts using the RDP protocol, only Netdisk can be selected as the destination address.
  • During web-based O&M, users cannot upload files to or download files from managed hosts by running the rz or sz command but only through File transfer.

    For Linux hosts, users can transfer files by running commands on the SSH client. For example, users can run the rz or sz command on the SSH client to upload or download files. However, the bastion host system cannot record such file upload and download data, and the purpose of security audit cannot be met.

  • Web-based O&M allows you to download one or more files but not folders.
  • Resumable download is not supported. Do not stop or pause the file upload or download process.
  • For a file larger than 1 GB, you can split the file into several small files and then upload or download them in batches or use the FTP client to transfer the file. For RDP hosts, you are advised to use the MSTSC client to transfer large files.
  • By default, the system supports the upload of a single file with a maximum size of 1 GB. However, the size of a single file to be uploaded is limited by the Personal Netdisk space and browser type. If the disk space is insufficient, the upload will fail. In this case, you can clear the disk or expand the disk capacity.

Prerequisites

  • You have the permissions to upload and download host resource files.
  • You have the host O&M permissions and can log in to the managed host using a web browser.
  • If you need to obtain the SSH host access permission through an ACL ticket for file transmission, ensure that you have obtained the file upload and download permissions of the corresponding directory on the host resource.

Uploading or Downloading Files to or from a Linux Host

Files can be directly transferred between a Linux host and a local computer without having to use the personal net disk. A personal net disk can be used to transfer files from other managed hosts.

  1. Go to the host resource session window by referring to Step 2: Log in to the Host using a Web Browser.
  2. On the File Transfer tab in the right pane of the session window, you can view the file list of the Linux host.

    Figure 3 Linux host file transfer

  3. Upload files to the Linux host.

    Click and choose Upload File, Upload Folder, or Upload File (Folder) from NetDisk. Upload one or more files or folders from the local host or personal net disk.

  4. Download files from the Linux host.

    1. In the file list, select one or more files to be downloaded.
    2. Click and choose Download or Save to netdisk to download one or more files to the local host or personal net disk.
      • Download: Click Go To Download Center to go to the download task list. When the Packing Progress of the download task reaches 100%, click Download in the Operation column to download the file to a local PC.
      • Save to netdisk: In the dialog box that is displayed, click OK to save the file to the net disk.

  1. Upload files to the personal net disk.

    1. Click Host Files and select Netdisk to switch to the personal net disk file list.
      Figure 4 Switching to the host net disk
    2. Click and choose Upload File or Upload Folder. Upload one or more local files or folders.

  2. Download files from the personal net disk.

    1. In the file list, select one or more files to be downloaded.
    2. Click to download one or more files to the local PC.
    3. Click Go to Download Center to go to the download task list.
    4. When the Packing Progress of the download task reaches 100%, click Download in the Operation column to download the file to a local PC.

Uploading or Downloading Files to or from a Windows Host

For Windows hosts managed in a bastion host system, the default path for storing files is NetDisk G. The disk is the personal net disk of the current user.

Files on a Windows host cannot be directly transferred between the host and a local computer. They can be transferred only through the personal net disk.

  1. Go to the host resource session window by referring to Step 2: Log in to the Host using a Web Browser.
  2. On the File Transfer tab in the right pane of the session window, you can view the file list of the personal net disk.

    Figure 5 Windows host file transfer

  3. Upload files to the Windows host.

    1. Click and choose Upload File or Upload Folder. Upload one or more local files or folders.
    2. Open the disk directory of the Windows host and search for Netdisk on drive G.
    3. Open Netdisk, right-click the file or folder to be uploaded, copy and paste it to the target directory on the Windows host.

  4. Download files from the Windows host.

    1. Open the Windows host disk directory, right-click the file or folder to be downloaded, and copy it.
    2. Open the Netdisk disk directory, right-click and paste the file or folder to the personal net disk on the Windows host.

  1. Download files from the personal net disk.

    1. In the file list, select one or more files to be downloaded.
    2. Click to download one or more files to the local PC.
    3. Click Go to Download Center to go to the download task list.
    4. When the Packing Progress of the download task reaches 100%, click Download in the Operation column to download the file to a local PC.

Common O&M Operations: File Management

In the file management area, manage files or folders on the host or host net disk.

Notes and Constraints

Files and folders cannot be edited in batches.

Procedure

  1. Go to the host resource session window by referring to Step 2: Log in to the Host using a Web Browser.
  2. Click File Transfer. The File Transfer window is displayed.
  3. Perform file management operations as required.

    Figure 6 File management
    • Create a folder: Click .
    • Delete a file or folder: Select one or more files or folders and click .
    • Rename a file or folder: Select a file or folder and click .
    • Refresh all file directories: Click .

Common O&M Operation: Collaborative Sharing

You can share a URL to invite other users in the system to view the same session. Participants can perform operations on the session after being approved by the session controller. This function can be used in scenarios such as remote demonstration and consultation on difficult O&M problems.

Notes and Constraints

  • Before sharing an operation session, ensure that the network connection between the bastion host system and the managed host is normal. Otherwise, the invited user cannot join the session, and the connection error (code: T_514) is reported on the session window of the creator. The error code T_514 indicates that the server does not respond for a long time and the connection is disconnected, and you need to check your network and try again.
  • The invitation URL can be copied and sent to multiple users. Only users with the account permissions of the managed resource can open the invitation URL.
  • The invited user can join the session only before the URL expires or the session ends.

Procedure

  1. Go to the host resource session window by referring to Step 2: Log in to the Host using a Web Browser.
  2. On the Cooperation tab on the right of the session window, click Share to expand the collaborative session page.

    Figure 7 Start sharing

  3. Click Invite friend to join this session. The invitation link window is displayed.

    Figure 8 Inviting a friend

  4. Click Copy to copy the invitation link. Send it to the user who has permissions for the accounts managed in the bastion host.

    Figure 9 Inviting a friend

  5. Log in to the bastion host as the invited user, open a new browser window, and paste the invitation link.

    Figure 10 Invitation window

  6. If you are invited, click Enter to join the session.

    Table 3 Parameters for session operation

    Parameter

    Description

    Apply for control

    The invited user can apply for control from the invitation sender. Once approved, the invited user can control the current session.

    Exit session

    Exit the current session.