Kaspersky Next XDR Expert

Remote access from a Linux-based device with OSMP Console to a Linux-based managed device

Prerequisites

Before you start, make sure that you have done the following:

  • On the managed device running Linux, Network Agent version 15.3 or later is installed.
  • On the managed device running Linux, the RDP server is installed (if you connect to the managed device by using Remote Desktop Connection).
  • On the managed device running Linux, the VNC server is installed (if you connect to the managed device by using Virtual Network Computing).
  • The administrator has the Start RDP sessions right to establish RDP connections (if you connect to the managed device by using Remote Desktop Connection).
  • The administrator has the Initiate tunneling right to establish the tunnel connection for VNC (if you connect to the managed device by using Virtual Network Computing).

To connect to a Linux-based managed device from a Linux-based OSMP Console by using RDP or VNC:

  1. In the main menu, go to the Assets (Devices) → Managed devices section or open a device selection.
  2. Select the check box next to the managed device to which you want to connect remotely, and then click the Connect to Remote Desktop button.

    The Connect to Remote Desktop window opens.

    If you select multiple devices, a mobile device, or a device running macOS, the Connect to Remote Desktop button will be disabled.

  3. Download the klsctunnel utility by clicking the Download button, and then run it.

    When downloading the utility, take into account the following:

  4. In the Connect to Remote Desktop window, specify the connection port. By default, port 3389 is used.
  5. Generate a text blob with encoded connection parameters by clicking the Generate blob button, and then copy and paste the text into the corresponding field in the klsctunnel utility.

    A blob contains the settings required to establish a connection between Administration Server and the managed device. A blob is valid for three minutes. If it has expired, generate a new blob.

  6. In the klsctunnel utility, if you use a proxy server, specify the proxy server connection settings.

    The klsctunnel utility displays the address and port for the local connection of a remote access client.

    The utility allows the administrator to close the tunnel connection. If the tunnel connection is closed, the current connection to the remote desktop is terminated.

  7. Run a remote access client (RDP or VNC) and connect it to the managed device by using the address and port provided by the klsctunnel utility.

A connection to the managed device is established, and the desktop is available in the remote access client window.