MacKey is an iOS app which can be used to unlock Mac using SSH connection.
- This app will only work when iOS device and Mac are within the same WiFi network.
- On Mac,
Remote Loginneeds to be enabled inSystem Preferences->Sharing.
- Open
System Preferences->Security & Privacy. CheckRequire password immediately after sleep or screen saver begins. - Use one of the following methods to turn off the screen.
A. Close the lid.
B. Hold down the Command+Option+Eject keys together.
C. Hold down the Command+Option+Power keys together.
D. Open Automator app. Choose Application. Type Script in the search box. Double click Run Shell Script.
Replace cat with pmset displaysleepnow. Use Command+S to save the app as an application.
Then drag the saved applicaiton to Dock. Click on the new application in Dock will make the display sleep.
- Host address, user name and password are saved in iOS keychain.
- Every unlock action is protected by a related touch ID authentication if
Require Touch IDoption is enabled. - Communications between this app and Mac are protected by SSH connection using NMSSH framework.
- It is recommended to delete all the hosts manually before deleting this app.