You are here: Getting Started > Install > Nessus Agent > Mac OS X

TOC & Recently Viewed

Recently Viewed Topics

Install a Nessus Agent on Mac OS X

Retrieve Agent Linking Key

  1. Log in to Nessus.
  2. Select the button.
  3. 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.

  4. In the first sentence of the Scanners / Agents / Linked window, select the setup instructions link.

  5. Record the host, port, and key values. These values will be used during the installation of the Nessus Agent.
  6. 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

  1. Double-click the Nessus .dmg (Mac OSX Disk Image) file.
  2. Double-click Nessus.pkg.
  3. Complete the Nessus Agent InstallShield Wizard.

    Note: Next, you will use the command line interface (Terminal) to link your Nessus Agent to Nessus Manager or Tenable.io.

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

Required Values

  • Key
  • Host
  • Port

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 UI.

  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, select the button.
  2. View linked Agents on the Scanners / Agents / Linked page.

    This completes the process of installing a Nessus Agent on Mac OSX.

Copyright © 2017. Tenable Network Security, Inc. All rights reserved. Tenable Network Security, Nessus, SecurityCenter Continuous View, Passive Vulnerability Scanner, and Log Correlation Engine are registered trademarks of Tenable Network Security, Inc. All other products or services are trademarks of their respective owners.