Skip to content

Instantly share code, notes, and snippets.

@robotsandcake
Last active June 19, 2018 19:29
Show Gist options
  • Select an option

  • Save robotsandcake/7cb47a05a257e6514a4148c0ecc0fd13 to your computer and use it in GitHub Desktop.

Select an option

Save robotsandcake/7cb47a05a257e6514a4148c0ecc0fd13 to your computer and use it in GitHub Desktop.
This bash script enables you to Screen Share with a remote machine using Apple's built-in screen sharing tools.
#!/bin/bash
# This will open Apple's Screen Sharing tool and connect to the desired machine
# Replace the username and password with the details of the remote machine you wish to connect to
# That goes for the IP address as well.
# Usage #
# Make the script executable with "chmod +x screen-share.sh" and then run it with:
# "./screen-share.sh
open -a Finder vnc://username:password@ip_address
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment