Ideally, an Apple Mac computer is scanned through Secure Shell (SSH) is a cryptographic network protocol that Lansweeper uses to scan Linux and.... 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 make an Apple Mac computer meet the requirements for agentless scanning, do the following:
- Open System Preferences... on the Mac computer.
- Select Users & Groups and, if necessary, click the lock icon to unlock the menu.
- Hit 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 hit Create UserOnce 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.
- Hit the back button to go back to your System Preferences
- Select the Sharing menu.
- Tick Remote Login, which will enable SSH, and Only these users
- Hit the + button, select the user you created earlier and hit Select to grant the user access to SSH.
- 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.
- Your Mac computer should now be ready for scanning. Start scanning the machine by following the instructions in this knowledge base article.