---
title: "Apple Mac scanning requirements | Lansweeper Classic"
slug: "apple-mac-scanning-requirements"
description: "Scan Apple Mac computers with Lansweeper Classic over SSH. Set up a user with SSH access and enable Spotlight to retrieve installed software and system data."
updated: 2026-06-17T09:20:56Z
published: 2026-06-17T09:20:56Z
canonical: "docs.lansweeper.com/apple-mac-scanning-requirements"
stale: true
---

> ## Documentation Index
> Fetch the complete documentation index at: https://docs.lansweeper.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Apple Mac scanning requirements

Ideally, an Apple Mac computer is scanned through SSH. Enabling SSH on the computer allows Lansweeper to run the `system_profiler` command on the machine. **System Profiler** is an interface built into macOS that stores a variety of system data.

In order for Lansweeper to scan macOS, you need to set up a user with SSH access to the computer. To retrieve installed software, you also need to ensure that Spotlight is enabled on the computer.

To set up an Apple Mac computer for agentless scanning:

1. Open **System Preferences...** on the Mac computer.
2. Select **Users & Groups** and, if necessary, click the lock icon to unlock the menu.
3. Select the "**+**" button to create the user that will access and scan the computer. Submit your preferred username in the first and second input box, your preferred password in the third and fourth input box and select **Create User**.

Once created, the user account should log in locally on the machine at least once to be able to scan the machine remotely afterwards. Alternatively, the user account should have sudo privileges.
4. Select the back button to go back to your **System Preferences**.
5. Select the **Sharing** menu.
6. Enable **Remote Login**, which will enable SSH, and **Only these users**.
7. Hit the "**+**" button, select the user you created earlier and **Select** to grant the user access to SSH.
8. Double-check that Spotlight is enabled on the computer, as the `system_profiler` command Lansweeper uses to retrieve software information doesn't work without it.
9. Your Mac computer should now be ready for scanning. Start scanning the machine by following the instructions in [this knowledge base article](https://docs.lansweeper.com/classic/docs/how-to-scan-an-apple-mac-computer?highlight=scan%20an%20apple%20mac).
