Skip to content

Instantly share code, notes, and snippets.

@Swipe650
Created August 2, 2017 10:35
Show Gist options
  • Save Swipe650/f1b890ba87840779177d90bfb8880fda to your computer and use it in GitHub Desktop.
Save Swipe650/f1b890ba87840779177d90bfb8880fda to your computer and use it in GitHub Desktop.
Unlock mac via ssh
osascript -e 'tell application "system events" to keystroke return'
osascript -e 'tell application "system events" to keystroke "password"'
osascript -e 'tell application "system events" to keystroke return'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment