Enable Remote Login on macOS
To push install the N-sight macOS Monitoring Agent using Network Discovery, you must first enable Remote Login on the target macOS device.
How to enable Remote Login on macOS
You can enable Remote Login using either:
Terminal commands
To enable Remote Login using Terminal:
- On the target macOS device, open Utilities or use the shortcut Shift+Command+U.
- Launch Terminal with administrator privileges.
- Run the following commands:
- Enable Remote Login:
-
Create the SSH access group:
-
Add the administrator group to the SSH access group:
systemsetup -setremotelogin on
dseditgroup -o create -q com.apple.access_ssh
dseditgroup -o edit -a admin -t group com.apple.access_ssh
Sharing preferences
To enable remote login using system settings:
- On the target macOS device, go to: Apple menu > System Settings > General > Sharing.
- In the Advanced section, turn on Remote Login.
- Select the Info
button next to Remote Login. - Under Allow access for, choose Only these users and select Administrators or a securely configured custom user/group.
- Select Done to save your changes.
Related articles
