Installing Duo Device Health Using JumpCloud Commands

Here is a script written to install Duo Device Health using JumpCloud commands. This script is to be used at your own discretion. Any harm coming to your machine is at zero liability to HelpFully Limited.

#!/bin/bash
# Script to download, Silent Install and then clean up once Due Device Health
# Writen by twitter.com/richhickson
# www.RichardHickson.com

#Make temp folder for downloads.
mkdir "/tmp/duo/";
cd "/tmp/duo/";

#Download Due Device Health.
curl -L -o /tmp/duo/DuoDeviceHealth-latest.dmg "https://dl.duosecurity.com/DuoDeviceHealth-latest.dmg";

#Mount DMG
hdiutil attach /tmp/duo/DuoDeviceHealth-latest.dmg -nobrowse;

#Install
sudo installer -pkg  /Volumes/DuoDeviceHealth/Install-DuoDeviceHealth.pkg -target /;

#Unmount DMG
hdiutil detach /Volumes/DuoDeviceHealth/ -force;

#Tidy Up
sudo rm -rf /tmp/duo/

Windows Powershell

Invoke-WebRequest -Uri "https://dl.duosecurity.com/DuoDeviceHealth-latest.msi" -OutFile "C:\Users\Public\DuoDeviceHealth-latest.msi"
cd C:\Users\Public\
./DuoDeviceHealth-latest.msi

Leave a Comment