TOC & Recently Viewed

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.

Get the Linking Key

  1. In Nessus Manager, in the top navigation bar, click Scans.

    The My Scans page appears.

  2. In the left navigation bar, click Agents.

    The Agents page appears.

  3. In the Linked Agents tab, click the setup instructions link.

    The Agent Setup Instructions dialog box appears.

  4. Record the host, port, and key values.
  5. Click Close.

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.

GUI Installation:

  1. Double-click the Nessus agent .dmg (Mac OS X Disk Image) file.
  2. Double-click Install Nessus Agent.pkg.
  3. Complete the Nessus Agent Install Wizard.

Command Line Installation:

  1. Extract Install Nessus Agent.pkg and .NessusAgent.pkg from NessusAgent-<version number>.dmg.
  2. Open Terminal.
  3. At the command prompt, enter the following command:
  4. # installer -pkg /<path-to>/Install Nessus Agent.pkg -target /

Link Agent Using Command Line Interface

You will need the Agent Key values obtained from the Nessus UI: host, port, and key.

Agent Key Values

Required Values

  • Key
  • Host
  • Port

For more information, see Install Nessus Agents.

Optional Values

  • Name (A name for your Agent)
  • Groups (Existing Agent Group(s) that you want your Agent to be a member of)

    If you do not specify an Agent Group during the install process, you can later add your linked Agent to an Agent Group within the Nessus user interface.

  1. Open Terminal.
  2. 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 agent link
    --key=00abcd00000efgh11111i0k222lmopq3333st4455u66v777777w88xy9999zabc00
    --name=MyOSXAgent --groups=All --host=yourcompany.com --port=8834

Verify Linked Agent

  1. In Nessus Manager, in the top navigation bar, click Scans.

    The My Scans page appears.

  2. In the left navigation bar, click Agents.

    The Agents page appears, and the new Agent appears in the table.

Copyright 2017 - 2018 Tenable, Inc. All rights reserved. Tenable Network Security, Nessus, SecurityCenter, SecurityCenter Continuous View and Log Correlation Engine are registered trademarks of Tenable, Inc. Tenable, Tenable.io, Assure, and The Cyber Exposure Company are trademarks of Tenable, Inc. All other products or services are trademarks of their respective owners.