I'm tunneling through ssh, so I would prefer screen sharing to only listen on local host for additional security. Is there a configure file I can edit to specify that ?
1 Answer
You have to execute this in Terminal:
sudo defaults write /Library/Preferences/com.apple.RemoteManagement.plist VNCOnlyLocalConnections -bool yes
-
1
-
Note that this doesn't completely restrict screen sharing to localhost. See gist.github.com/mhofman/171539fa11052aae785fd19d8b382664. Commented Oct 11 at 17:19