Activate Nessus BYOL Scanner via the Command Line

To activate the Nessus Professional BYOL scanner via the command line:

  1. Adjust the permissions for your downloaded SSH Key using the following command:

    chmod 400 myNessusKey.pem

  2. SSH into the Nessus BYOL scanner using the following command:

    ssh -i myNessusKey.pem [email protected]<BYOLpublicIP>

    Where <BYOLpublicIP> is the IP address of your Nessus Professional instance.

  3. Elevate privileges using the following command:

    sudo su

  4. Update the AMI using the following command:

    yum update -y

  5. Stop Nessus using the following command:

    service nessusd stop

  6. Register the scanner with your Nessus Professional activation code using the following command:

    /opt/nessus/sbin/nessuscli fetch --register <ACTIVATION CODE>

    Where <ACTIVATION CODE> is the activation code for your instance.

  7. Start Nessus using the following command:

    service nessusd start