Team: Huntress Managed Endpoint Detection and Response (EDR)
Product: Huntress Agent
Environment: Huntress Dashboard
Summary: This guide covers how to install the Huntress Agent via Terminal or RMM Shell
If you've got an RMM not currently supported by Huntress this generic script should help you get started. It can also be useful for custom RMM configs where the command set is limited. There is no error checking, you'll need to manually edit the actkey and orgkey variables, and we can't guarantee support with this, however if you run into a road block feel free to contact us support@huntress.com and we'll do our best to assist.
This should be your last resort only if all other methods fail as the lack of error checking makes it very difficult to troubleshoot.
You can paste this into your shell or save as Install-Huntress-macOS.sh (and run as root)
actKey="PASTE YOUR ACCT KEY HERE!"
orgKey="CHANGE THIS TOO PLEASE"
echo "Version 11+ required, you have ${$(sw_vers -productVersion):0:2}"
url="https://huntress.io/script/darwin/"$actKey
sudo curl -w "%{http_code}" -L $url -o "/tmp/HuntressMacInstall.sh"
sudo /bin/bash "/tmp/HuntressMacInstall.sh" -a $actKey -o $orgKey -v