Last active
January 5, 2021 17:23
-
-
Save abhi-io/fdd26d0a5c9f3122d98007b8300026fa to your computer and use it in GitHub Desktop.
Launch AWS EC2 Mac Instances - Enable VNC Server
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo /System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Resources/kickstart \ | |
-activate -configure -access -on \ | |
-configure -allowAccessFor -specifiedUsers \ | |
-configure -users ec2-user \ | |
-configure -restart -agent -privs -all | |
sudo /System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Resources/kickstart \ | |
-configure -access -on -privs -all -users ec2-user | |
exit |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment