Installing Duo Device Health Using JumpCloud Commands

Write up to follow – As usual use at your own risk.

#!/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

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.