For correct operation, the server with the platform must be able to:

  • connect to the location server using an SSH key;

  • upload files to the location server via SSH.

To enable SSH access to the location:

  1. Connect to the location server.
  2. If the ~/.ssh/authorized_keys file does not contain the public SSH key of the server with the platform, add the contents of the SSH key to the file.
  3. Check the settings of the configuration file /etc/ssh/sshd_config:
    1. If the file contains a Match Address parameter, add the IP addresses of the server with the platform to it.
    2. Set the PermitRootLogin and PubkeyAuthentication parameters to yes.
    3. Set the AuthorizedKeysFile parameter to .ssh/authorized_keys.

      Example settings

      Match Address 192.168.1.1,192.168.1.2,192.168.2.0/28
      PermitRootLogin yes
      PubkeyAuthentication yes
      AuthorizedKeysFile .ssh/authorized_keys
      CODE
  4. If you made changes to the configuration file, restart the sshd service:

    systemctl restart sshd
    CODE