If the location is not accessible through the root user
If security policies prohibit connecting to the location through the root user, you can set up a connection through another account. This account must have superuser permissions.
To configure a connection to the location:
On the location server:
Open the file /etc/sudoers:
visudo /etc/sudoers
BASH
Configure superuser permissions for the accounts. To do this, add or edit the %sudo parameter:
%sudo ALL=(ALL:ALL) NOPASSWD: ALL
CODE
Add or edit location settings in the platform via API:
Run an API request to add or edit location settings. You can use the curl utility or theSwagger interactive shell. In the ssh_user parameter, specify the username for connection: