Command Templates
Overview
You can manage templates for restricted commands that are not allowed after connecting to servers managed by your organization. Once a command template is set up, it can be reused when configuring access permissions. Command restriction is string-based, and support for regular expressions is also available.

Administrator > Servers > Server Access Control > Command Templates
Setting Up a Restricted Command Template
Server access policies can be configured in the Policies menu. For detailed instructions, refer to the commandsRef section in the Configure Server Policies guide.

Administrator > Servers > Server Access Control > Command Templates > Create Command Template
Navigate to the Administrator > Servers > Server Access Control > Command Templates menu.
Click the
+ Create Template
button at the top right.Enter the following information for each field to configure the policy:
Restrict Commands (SSH): Set up the command policy for commands executed through the web terminal on the server.
Keyword: Enter the restricted commands as keywords.
RegExr: Enter the restricted commands as regular expressions.
Restrict Commands (SFTP): Set up the policy for actions executed through the web SFTP on the server. You can restrict actions such as deleting directories/files, uploading files, downloading files, and creating directories.
Click the
Save
button at the bottom right to finalize the configuration.