← Connection guide

Open your Mac mini desktop with Screen Sharing over SSH

Open a private SSH tunnel to your rented Mac mini, connect a Screen Sharing viewer to localhost and sign in with your Mac account. Includes Windows and Mac client steps.

Before you start Use a rental Mac with Screen Sharing enabled for your account. You’ll find its tunnel command in Workspace details. Another Mac already has a compatible viewer. Windows and Linux users will need one that supports signing in to a Mac account.

Screenshot walkthrough
Mac rental workspace showing the Screen Sharing over SSH tab and its instructions; connection details are obscured. View full-size screenshot ↗
Find the Screen Sharing option

In Workspace details, choose Screen Sharing over SSH under connection methods. Copy your own tunnel command from this panel.

The recording uses a physical Mac mini and the Remmina viewer on Ubuntu. The same tunnel connects a compatible viewer on Windows or macOS.

What the two windows do

You’ll use two windows on the computer in front of you. Start in Terminal or PowerShell to open an encrypted SSH connection. Then switch to the viewer, where you’ll see the mini’s desktop and can click or type just as if you had its keyboard. Leave the terminal window running in the background.

Notice the two different addresses below. SSH connects to your mini’s animal hostname. The viewer connects to 127.0.0.1 (localhost) on your own computer. The port number 15900 tells it to use the tunnel you opened. SSH carries the viewer’s connection from there to Screen Sharing on the Mac.

Try the SSH login before opening a tunnel. →
  1. Confirm the Mac is ready for desktop access

    In My minis, choose your Mac and open Workspace details. Select Screen Sharing over SSH to see the tunnel command. Keep the Mac username handy for the viewer. If desktop access still shows as pending, email support to check whether the Mac is ready.

    From your own computer, try a regular SSH sign-in first. Check the host fingerprint against Workspace details or your delivery instructions before entering your machine password. Once you have a remote prompt, type exit so the next command runs on your own computer.

    See screenshots for this step
    Mac rental workspace showing the Screen Sharing over SSH tab and its instructions; connection details are obscured. View full-size screenshot ↗
    Find the Screen Sharing option

    In Workspace details, choose Screen Sharing over SSH under connection methods. Copy your own tunnel command from this panel.

  2. Open the tunnel on your own computer

    On your computer, paste the tunnel command from Workspace details into Terminal or PowerShell. The example below uses you@animal.loginmini.com in place of your assigned login. Its ExitOnForwardFailure setting tells SSH to report if it cannot open the local listening port.

    ssh -o ExitOnForwardFailure=yes -N -L 127.0.0.1:15900:127.0.0.1:5900 you@animal.loginmini.com

    After you enter your machine password, a working tunnel usually sits quietly. You won’t see a fresh shell prompt because -N asks SSH to hold the connection open without starting a remote command. Leave this window as it is and open the viewer separately.

    Read the -L addresses from left to right. The viewer reaches 127.0.0.1:15900 on your computer. At the other end of the SSH connection, the Mac reaches its own Screen Sharing service at 127.0.0.1:5900. These are two different computers using their own loopback addresses.

    See screenshots for this step
    The real SSH forwarding session remains open after authentication. View full-size screenshot ↗
    Keep the tunnel open

    Start the SSH tunnel on your computer. Once it accepts your password, the terminal waits here. Leave this window open.

  3. Point your viewer at the local end of the tunnel

    On a Mac, click Finder and press ⌘K for Connect to Server. Paste the address below and click Connect to open Screen Sharing. If you get a choice of sign-in methods, select the registered-user option.

    vnc://127.0.0.1:15900

    On Windows or Linux, use a viewer that accepts a Mac account username and password through Apple Remote Desktop authentication. In its VNC or ARD connection settings, enter 127.0.0.1 for the host. Set the port to 15900, matching the local side of your tunnel.

    For example, in Devolutions Remote Desktop Manager on Windows, create an Apple Remote Desktop (ARD) entry with that host and port. If the viewer offers both a display number and a port, use the port field for 15900. Open the entry while the PowerShell tunnel window is still running.

    See screenshots for this step
    Remmina’s VNC connection form with 127.0.0.1:15900 in the Server field. View full-size screenshot ↗
    Connect to the local viewer address

    Open your viewer and point it at 127.0.0.1:15900. Here Remmina on Ubuntu uses its VNC connection profile. On a Mac, open Screen Sharing.

  4. Sign in at the Mac desktop

    If the login window shows another account, press Escape to return to the list and choose Other. Type the short machine username from Workspace details.

    Use the Mac username from Workspace details and the password you currently use for that account. Some sessions also show the macOS login screen. Choose the same account there. If you only see Other, enter the short username from your rental.

    When the desktop appears, click Finder in the Dock to check that your input reached the Mac. If your viewer offers only a VNC password field, switch to a viewer that accepts Mac account credentials. You can also choose Open desktop on web in My minis on a rental with web desktop access.

    See screenshots for this step
    macOS login shows the guide’s machine username and an empty password field. View full-size screenshot ↗
    Choose your own Mac account

    If macOS shows a different account at the login window, press Escape and select Other. Enter the short username and current machine password from your rental.

    The demonstration Mac desktop is open in the native viewer through the SSH tunnel. View full-size screenshot ↗
    Use your Mac desktop

    When the viewer asks, use your Mac machine username and current password. Once the desktop opens, use its Finder window as you would in front of the Mac.

  5. Close the viewer and stop the tunnel

    Disconnect in the viewer. Return to the terminal that has been waiting and press Ctrl+C. The local prompt returns and the forwarded port closes. To reconnect another day, start the SSH tunnel again before opening the viewer.

    See screenshots for this step
    Terminal after Ctrl+C stopped the loopback tunnel. View full-size screenshot ↗
    Close the connection

    Close the viewer, return to the tunnel window and press Ctrl+C. The local terminal prompt returns.

Availability alerts

We'll let you know when a machine becomes available.

No reservation, no charge. Unsubscribe anytime.