Help Center/ Cloud Bastion Host/ User Guide/ Operation/ Script Management/ Viewing and Editing Script Information
Updated on 2024-09-24 GMT+08:00

Viewing and Editing Script Information

This topic describes how to view and modify script online.

Constraints

If a script exceeds 128 KB, you cannot view the script online. You can download the script to your local PC by referring to Downloading a Script.

Prerequisites

You have the management permissions for the Script module.

Procedure

  1. Log in to your bastion host.
  2. Choose Operation > Script to go to the script management page.
  3. Query a script.

    • Quick search

      Enter a keyword in the search box and search for scripts by name.

    • Advanced search

      Enter keywords in the corresponding attribute search boxes to search for scripts in exact mode.

  4. Click the name of the script you want to modify or locate the row where the script locates and click Manage in the Operation column.

    Figure 1 Script details page

  5. On the displayed script details page, view and edit basic information of the script.

    In the Basic Info area, click Edit. In the displayed dialog box, edit the script details.

    You can edit the script Name and Remarks.

  6. View and modify script content.

    In the Script content area, click Edit. In the displayed dialog box, edit the script content.