→ 🚀What's New? Join Us for the Fall Product Launch! Register Now !

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Lansweeper
Lansweeper Tech Support
Lansweeper Tech Support

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.
    apple-mac-scanning-requirements-1.jpg
  2. Select Users & Groups and, if necessary, click the lock icon to unlock the menu.
    apple-mac-scanning-requirements-2.jpg
    apple-mac-scanning-requirements-3.jpg
  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.
    apple-mac-scanning-requirements-4.jpg
    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.
    apple-mac-scanning-requirements-5.jpg
  5. Select the Sharing menu.
    apple-mac-scanning-requirements-6.jpg
  6. Enable Remote Login, which will enable SSH, and Only these users.
    apple-mac-scanning-requirements-7.jpg
  7. Hit the "+" button, select the user you created earlier and Select to grant the user access to SSH.
    apple-mac-scanning-requirements-8.jpg
  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.


Was this post helpful? Select Yes or No below!
Did you have a similar issue and a different solution? Or did you not find the information you needed? Create a post in our Community Forum for your fellow IT Heroes!
More questions? Browse our Quick Tech Solutions.


Was this article helpful? Yes No
No ratings

New to Lansweeper?

Try Lansweeper For Free

Experience Lansweeper with your own data.
Sign up now for a 14-day free trial.

Try Now

New to Lansweeper?

Try Lansweeper For Free

Experience Lansweeper with your own data.
Sign up now for a 14-day free trial.

Try Now
Version history
Last update:
‎06-05-2024 09:18 AM
Updated by: