Preparing a macOS device for remote installation of Network Agent

To prepare a device running macOS for remote installation of Network Agent:

  1. Make sure that sudo is installed on the target macOS device.
  2. Test the device configuration:
    1. Make sure port 22 is open on the client device: in the System Preferences, open the Sharing pane and make sure the Remote Login check box is selected. You can use the ssh <device_name> command to log in to the macOS device remotely.

      In the Sharing pane, you can use the Allow access for option to set the scope of users who are allowed access to the macOS device.

    2. Disable the sudo password for the user account under which the device is to be connected.

      Use the sudo visudo command in the Terminal to open the sudoers configuration file. In the file that you have opened, in the User privilege specification entry specify the following: username ALL = (ALL) NOPASSWD: ALL. In this case, username stands for the user account, which is to be used for the device connection using Secure Shell (SSH).

    3. Save the sudoers file and then close it.
    4. Connect to the device again through SSH and make sure that the Sudo service does not prompt you to enter a password; you can do this using the sudo whoami command.
  3. Download and create an installation package:
    1. Download the Network Agent installation package using one of the following methods:
      • In the console tree, by opening the context menu on Remote installation → Installation packages and selecting Show current application versions to choose from available packages
      • By downloading the relevant version of Network Agent from Technical Support website at
      • By requesting the installation package from Technical Support specialists
    2. To create a remote installation package, use the following files:
      • klnagent.kud
      • klnagentmac.dmg
  4. Create a remote installation task with the following settings:
    • On the Settings page of the Add Task Wizard, select the Using operating system resources through Administration Server check box. Clear all other check boxes.
    • On the Selecting an account to run the task page, to run the task specify the settings of the user account that is used for device connection through SSH.

The client device is ready for remote installation of Network Agent through the corresponding task that you have created.

Page top