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
- Select New command (新建指令).
- Enter a Name and the Commands, one per line. In a batch run they are sent to each host in order.
- Select Save.
Run in batch
Steps
- In the command's row, select run.
- 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.
- 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.
Accessing assets
Open SSH terminals and remote desktops in the browser, pick a sign-in account, manage files during a session, use the remote clipboard and key combinations, and connect with an SSH client through the built-in SSH service.
Asset authorisation
Authorise assets for users or user groups with a validity period, account restrictions, an authorisation policy and a command filter; maintain file and clipboard permission templates and SSH command filters.