The new docs.trellix.com features a modernized UI and AI-powered conversational search. Content is currently available in English, with additional languages launching in early November 2026. We hope you enjoy the updated experience.

set sensor sharedsecretkey

Prev Next

This command helps specify the shared secret key value that the Manager and Sensor will use to establish a trust relationship.

Type the command as shown in the Syntax below. The Sensor prompts you for a secret key value. The value you enter is not shown. You will be prompted to type the value a second time to verify that the two entries match.

Note

The sharedsecretkey value you use here in the CLI to identify the Sensor must match the one you use in the Manager interface; or else the Manager and Sensor will be unable to communicate. If you want to change the value, you must change the value in the CLI as well as the manager interface.

Syntax:

set sensor sharedsecretkey

At the Sensor's prompt for a secret key value, enter a case-sensitive character string between 8 and 25 characters of any ASCII text.

Sample Output:

On executing the command, the following messages are displayed-

  • When the Sensor is installed:

    sensor is already installed, please do a deinstall before changing this parameter

  • When Sensor is de-installed:

    • intruShell@john> set sensor shared secretkey

      Please enter shared secret key:

      Please Re-enter shared secret key:

      This will take a couple of seconds, please check status on CLI

Applicable to:

NS-series Sensors