Recently Viewed Topics
Install a Nessus Agent on Mac OS X
Caution: If you install a Nessus Agent, Manager, or Scanner on a system with an existing Nessus Agent, Manager, or Scanner running
nessusd, the installation process will kill all other
nessusd processes. You may lose scan data as a result.
Retrieve Agent Linking Key
- Log in to Nessus.
- Select the button.
On the Scanners / Agents / Linked page, select Agent > Linked and read the on-screen message.
Agents can be linked to this manager using the provided key with the following setup instructions. Once linked, they must be added to a group for use when configuring scans.
Also, linked agents will automatically download plugins from the manager upon connection. Please note, this process can take several minutes and is required before an agent will return scan results.
In the first sentence of the Scanners / Agents / Linked window, select the setup instructions link.
- Record the host, port, and key values. These values will be used during the installation of the Nessus Agent.
- Select the Close button.
Download Nessus Agent
From the Nessus Download Page, download the Nessus Agent specific to your operating system.
Note: The following steps require root privileges.
Install Nessus Agent
The Nessus Agent can be installed by using the GUI installation wizard or via command line.
- Double-click the Nessus agent .dmg (Mac OS X Disk Image) file.
- Double-click Install Nessus Agent.pkg.
- Complete the Nessus Agent Install Wizard.
Command Line Installation:
Install Nessus Agent.pkgand
- Open Terminal.
- At the command prompt, enter the following command:
Link Agent Using Command Line Interface
You will need the Agent Key values obtained from the Nessus UI (Step 1): host, port, and key.
Agent Key Values
- Open Terminal.
At the command prompt, use the following command as an example to construct your link-specific string.
Example Mac Agent Link Command:
# /Library/NessusAgent/run/sbin/nessuscli managed link
--name=MyOSXAgent --groups=All --host=yourcompany.com --port=8834
Verify Linked Agent
- In Nessus, select the button.
View linked Agents on the Scanners / Agents / Linked page.
This completes the process of installing a Nessus Agent on Mac OS X.