Access your Mac remotely
Back to My Mac is a part of iCloud that allows you to access files, share a screen and control another Mac remotely. It works with Macs on the same network and over the internet. To set it up, go to System Preferences, then iCloud on your main Mac. Tick the box next to Back to My Mac, then click More or Details (depending on which version of OS X you have). Click the button that says Open Sharing and click the boxes next to File Sharing and Screen Sharing. To use Back to My Mac over the internet, you’ll need to set up UPnP on your router. How you do this depends on your router; you’d usually type the IP address of its homepage into Safari’s address bar, log in and then allow UPnP from its settings page. To access another Mac on the same network, repeat the steps above on that Mac. Now when you open a Finder window, you’ll see that Mac listed under Devices. Click on it and you can access its filesystem (after a short delay) and open files on the remote Mac or copy them to your Mac. Click on Share Screen and a window will open, showing you that Mac’s screen and allowing you to control it.