User guide
Copyright © 2014. Tenable Network Security, Inc. All rights reserved. Tenable Network Security and Nessus are registered trademarks of Tenable Network Security, Inc.
12
Updating the Plugins Only
To force the nessuscli to update the plugins only, use the --plugins-only option:
# /opt/nessus/sbin/nessuscli update --plugins-only
----- Fetching the newest updates from nessus.org -----
Nessus Plugins: Complete
* Nessus Plugins are now up-to-date and the changes will be automatically processed
by Nessus.
Updating a Specific Plugin Archive
If you wish to supply a plugin archive (e.g., for offline updates or supplying custom plugins), add the archive name after
the update command:
# /opt/nessus/sbin/nessuscli update all-2.0.tar.gz
* Update successful. The changes will be automatically processed by Nessus.
Nessus Command Line Fetch Commands
The nessuscli commands offer the ability to manage Nessus registration from the command line. For online registration
the commands include registering the scanner, confirming that Nessus has a valid registration code, and registering with
SecurityCenter. For offline registration, the commands include registering the scanner and providing the challenge code.
The nessuscli commands can also check that Nessus is properly configured with a valid registration code and can
display the current activation code in use.
Registering a Scanner Online
To register a Nessus scanner, run the following command:
# /opt/nessus/sbin/nessuscli fetch --register <serial>
Example:
# /opt/nessus/sbin/nessuscli fetch --register xxxx-xxxx-xxxx-xxxx
If the registration code is already in use, the following will be displayed:
# /opt/nessus/sbin/nessuscli fetch --register xxxx-xxxx-xxxx-xxxx
Nessus Plugins Error: The provided Activation Code (XXXX-XXXX-XXXX-XXXX) has already
been used
Otherwise, Nessus will register the activation code and download the plugins:
# /opt/nessus/sbin/nessuscli fetch --register xxxx-xxxx-xxxx-xxxx
Your Activation Code has been registered properly - thank you.
----- Fetching the newest updates from nessus.org -----