Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
#! /bin/bash -ex
#
# reminder/notes on how to remotely install NX over ssh
#
#there=${1-bonehead@192.0.2.1}
#ssh $there
cd ~/Downloads
# assuming this the latest version?
curl -RO http://download.nomachine.com/download/5.1/MacOSX/nomachine_5.1.9_16.dmg
# mount the DMG
hdiutil attach nomachine_5.1.9_16.dmg
# install the package
sudo installer -pkg /Volumes/NoMachine/NoMachine.pkg -target /
hdiutil detach /Volumes/NoMachine
rm nomachine_5.1.9_16.dmg
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment