Connect Remote MacOS with local MacOS Screen Sharing

Assume that you have 2 MacOS.

  1. MacOS1: at home
  2. MacOS2: at work place

For sure they are not in same LAN network.

Now, you want access MacOS1 at home from Your work MacOS2 for urgency staff.

From this article, you will learn how to implement it with very very less price.

Step 1: Step ssh

Please refer this article How to use Cloudflare’s tunnels(Zero Trust) to connect to the SSH of the intranet PC.

Step2: Connect

Here we connect from MacOS2 to MacOS1.

So go to your local MacOS2, run the ssh tunel command:

ssh -L 5900:localhost:5900 [email protected]

Here, we map MacOS2 port 5900(first one) to remote MacOS1 5900(second).

MacOS had built-in VNC server run at 5900 port, so please make sure remote port is always 5900.

Then open Screen Sharing on your local MacOS, enter localhost:5900.

Leave a Reply

Your email address will not be published. Required fields are marked *

Name *