Link Tenable Nessus BYOL Scanner to Tenable Vulnerability Management via the Command Line
To link the Tenable Nessus BYOL scanner to Tenable Vulnerability Management via the command line:
-
Adjust the permissions for your downloaded SSH Key using the following command:
chmod 400 myNessusKey.pem
-
SSH into the Nessus BYOL scanner using the following command:
ssh -i myNessusKey.pem ec2-user@<BYOLpublicIP>
Where <BYOLpublicIP> is the IP address of your Tenable Nessus BYOL instance.
-
Elevate privileges using the following command:
sudo su
- Update the AMI using the following command:
yum update -y
- Stop Tenable Nessus using the following command:
service nessusd stop
-
Link the Nessus BYOL scanner to Tenable Vulnerability Management for management using the following command:
/opt/nessus/sbin/nessuscli managed link --key=<key> --cloud
Where <key> is the linking key associated with your Tenable Vulnerability Management instance.
Note: FedRAMP customers must use the following command:
/opt/nessus/sbin/nessuscli managed link --key=<key> -host=fedcloud.tenable.com --port=443
- Start Tenable Nessus using the following command:
service nessusd start