Post-Installation Engine-to-Console Pairing
This article is intended for users that elected to skip the Engine-to-Console (also referred to as “reverse”) pairing segment during the installation of a distributed Scan Engine.
For documentation on standard pairing and reverse pairing performed during an installation, see the Distributed Scan Engines page.
Distributed Scan Engine install wizards allow you to pair your new engine to your Security Console immediately at install time if you select the Engine-to-Console communication method. However, if you decide to skip this pairing step, you must complete the pairing with a different procedure after the installation completes.
This article details this post-installation reverse pairing procedure.
Reverse Pair (Engine-to-Console)
In order to configure an engine-to-console pairing (also known as a “reverse” pair) on a Scan Engine you have already installed, you must manually add a new Security Console entry to the Scan Engine configuration and confirm the pairing with a console-generated shared secret. Consequently, the first step of all reverse pairing procedures is to generate the shared secret in the Security Console.
Generate a Scan Engine Shared Secret
To generate a shared secret in the Security Console:
- Browse to and click on the Administration tab in your left navigation menu.
- In the “Scan Options” section, click manage next to “Engines”.
- In the “Generate Scan Engine Shared Secret” section, click Generate.
- Copy the shared secret for now. You will use this shared secret to authenticate the connection between the Scan Engine and the Security Console.
Multiple Scan Engines can use the same console-generated shared secret for each of their reverse pairing procedures. However, shared secrets are only valid for 60 minutes. If your shared secret expires, you must generate a new one to complete any further reverse pairing procedures.
Add Your Security Console to the Scan Engine
Reverse pairing procedures for both Windows and Linux Scan Engine hosts must be completed using a command line interface. You can pass commands to the Scan Engine in the following ways according to your host operating system:
Windows Command Line Access
To open the Scan Engine command line on a Windows host:
- Use Remote Desktop Protocol to log into your Scan Engine host, or access the host directly.
- Stop Scan Engine services.
- Open your Start menu and browse to the Scan Engine service applet.
- Re-start the Scan Engine service in interactive mode to open the command line interface.
Linux Command Line Access
To open the Scan Engine command line on a Linux host:
- Open a terminal and SSH into your Scan Engine host with the following command. Substitute
<address>with the necessary values:
- After you log in to the Scan Engine host, run
sudo -ito start a shell with elevated privileges.
- Now that your shell has elevated privileges, start a
screensession with the Scan Engine using the following command:
1screen -x nexpose
Do not use
c to exit from a screen session. This terminates the Scan Engine service.
To detach safely from a screen session on the Scan Engine, use
Scan Engine Commands
Now that you have a command line interface open, you can add the Security Console to the Scan Engine. The following commands apply to Scan Engines on both Windows and Linux hosts:
- Add your intended Security Console with the following command. Substitute
<address>with the IP address of the Security Console:
1add console <address>
show consolesto list all Security Console entries, including your new addition. Locate your new Security Console by its IP address and take note of its console ID.
- Using the console ID discovered in the previous step, run the following command to connect the Scan Engine to your Security Console. Substitute
<ID>with the necessary console ID value:
1connect to console <ID>
show consolesagain and verify that the value for
1for the intended Security Console.
- Initiate the prompt to provide the shared secret to the Scan Engine with the following command. Substitute
<ID>with the same console ID as before:
1add shared secret <ID>
- When prompted, enter your shared secret that you generated in the Security Console. A verification message indicates that the shared secret was applied successfully.
- Finally, run the following command to enable the Security Console on the Scan Engine. As usual, substitute
<ID>with your console ID:
1enable console <ID>
- After the pairing completes, close the session to finish.
Your post-installation Scan Engine pair is finished!
Now that your Scan Engine is paired with the Security Console, refresh your Scan Engine status to confirm that the communication line is open and working.