Skip to main content
User guide

Commands

Save frequently used shell commands and run them on several SSH hosts at once, with one recorded SSH session per host.

Resources > Commands (资源管理 > 动态指令) manages the shell commands saved by all users. Ordinary users manage only their own, under My commands (我的指令) in their workspace.

Create a command

Steps

  1. Select New command (新建指令).
  2. Enter a Name and the Commands, one per line. In a batch run they are sent to each host in order.
  3. Select Save.

Run in batch

Steps

  1. In the command's row, select run.
  2. Under Target hosts (目标主机), pick SSH assets. Administrators can pick any SSH asset; ordinary users only those they are authorised for. Keep it to 9 hosts or fewer at a time.
  3. Select Run (执行).

The batch page opens in a new window. It opens one SSH session per host and sends the commands in order, with one terminal pane per host showing connecting, connected or disconnected. You can then type a command in the box at the top and press Enter to send it to every connected host.

These sessions are recorded like any other, and their commands are written to the command log.

Other actions

  • Edit and Delete: you can select several commands and delete them together.
  • Change owner (administrators only): transfers the command to another user.

On this page