Kaspersky Endpoint Security for Mac

Install Network Agent using the SSH protocol

One way to install Network Agent on a remote computer is by using the SSH protocol.

Make sure that the following requirements are met:

  • Kaspersky Security Center Administration Server is deployed on the corporate network.
  • Administration Console is installed on the Kaspersky Security Center administrator's workstation.
  • The Network Agent installation package is created and stored in a shared folder of Administration Server.
  • Remote Login is enabled on the remote computer.
  • The computer account used to install Network Agent is included in sudoers.

For detailed information about installation packages, see Kaspersky Security Center Help.

Install Network Agent using the SSH protocol

  1. Start the SSH client on the administrator's workstation.
  2. Connect to the remote computer.
  3. Connect the shared folder of Administration Server as a network drive on the remote computer. To do this, enter the following commands in the SSH client:

    mkdir /Volumes/KLSHARE

    mount_smbfs //<administrator account>:<password>@<Administration Server IP address>/KLSHARE /Volumes/KLSHARE

    Parameter descriptions:

    • <administrator account> – Name of the administrator account on Administration Server.
    • <password> – Password of the administrator on Administration Server.
    • <Administration Server IP address> – IP address of the server hosting Kaspersky Security Center.
  4. Run the installation script. To do this, enter the following command in the SSH client:

    cd /Volumes/KLSHARE/<klnagent_package_folder>

    where <klnagent_package_folder> is the folder in which the Network Agent installation package is located.

    sudo ./install.sh -r <server> [-s <action>] [-p <port number>] [-l <SSL port number>]

    Parameter descriptions:

    • <action> – Parameter that defines whether or not encryption will be used when establishing the connection between Network Agent and Administration Server. If the value is "0", an unencrypted connection is used. If the value is "1", the connection is established via the SSL protocol (default value).
    • <server> – IP address or DNS name of the server on which Kaspersky Security Center is installed.
    • <port number> – Number of the port that will be used to establish an unencrypted connection to Administration Server. Port 14000 is used by default.
    • <SSL port number> – Number of the port that will be used to establish an encrypted connection to Administration Server using the SSL protocol. Port 13000 is used by default.

    Important: Administrator rights are required for executing this command.

  5. Disconnect the network drive on the remote computer. To do this, enter the following command in the SSH client:

    umount /Volumes/KLSHARE

  6. Check if Network Agent functions properly on the remote computer. To do this, enter the following commands in the SSH client:

    cd /Library/Application\ Support/Kaspersky\ Lab/klnagent/Binaries/

    sudo ./klnagchk

    If the check is successful, Network Agent functions properly.

Page top
[Topic kes127621]