This article describes how to install the internal vulnerability scanning agent on a Linux device (we also have installation guides for Windows and macOS):

Step 1: Download the agent installer

Head to the Nessus agent download page:

Select the right installer package for your flavour of Linux.

Download the file and keep a note where you've saved it. 

Step 2: Install the agent

Fedora, Red Hat, CentOS, and Oracle Linux:

rpm -ivh [NessusAgent package].rpm

Ubuntu, Debian:

dpkg -i [NessusAgent package].deb

Step 3: Configure and link the agent

To configure each device for scanning you'll need two pieces of information, your Prefix and a Key. You can find these in the Internal Scanning section of the settings page inside the Intruder portal:

Calculate your DeviceName as follows:

        DeviceName = Prefix_TargetName

        ... where TargetName is what you'd like the target to be called in the portal.

For example, if your Prefix is DQEGBQUAAAc and your want to name your device 'paul-laptop':

        DeviceName = DQEGBQUAAAc_paul-laptop

Once you have the above information ready, open a Terminal window and run the following command:

/opt/nessus_agent/sbin/nessuscli agent link --name=DeviceName --key=Key --cloud

Note: The location of nessuscli might vary depending on your version of Linux

Did this answer your question?