Linux Installation Guide

Note: The Linux client can run perfectly well without being installed first—if you wish to use sdm in this way, check out the Running Without Installation section below.

  1. You should have received an email inviting you to your strongDM account. Open the invitation email and click the enclosed link to set your password.

  2. After logging in, open a terminal and execute the following command: $ curl -J -O -L https://app.strongdm.com/releases/cli/linux

  3. Unzip the file: $ unzip sdmcli_<VERSION_NUMBER>_linux_amd64.zip

  4. Follow instructions provided by the install command (must be excuted using sudo): $ sudo ./sdm install

    Note: If you are installing with Fedora Linux, use the -E flag to preserve the user environment. This is necessary due to the way Fedora handles sudo.

    Important If you are attempting to set up a relay, see the relay guide.

  5. Proceed to the CLI guide to learn how to connect to datasources and servers.

  6. If any errors occur or if the installation fails in any way, please contact support@strongdm.com for assistance.

Running Without Installation

Once you’ve downloaded and unzipped the Linux client (step 3 above), you are ready to run commands—no installation needed. In order to do so, you’ll either need to log in (./sdm login) or provide an admin token or service account token in the SDM_ADMIN_TOKEN environment variable.

$ curl -J -O -L https://app.strongdm.com/releases/cli/linux
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   128  100   128    0     0    384      0 --:--:-- --:--:-- --:--:--   384
100 6733k  100 6733k    0     0  2896k      0  0:00:02  0:00:02 --:--:-- 3435k
curl: Saved to filename 'sdmcli_0.7.11_linux_amd64.zip'
$ unzip sdmcli_0.7.11_linux_amd64.zip
Archive:  sdmcli_0.7.11_linux_amd64.zip
  inflating: sdm
$ export SDM_ADMIN_TOKEN=<token here>
$ ./sdm status
     DATASOURCE NAME              STATUS            PORT     TYPE
     Customer Database RO         not connected     1433     mssql
     Customer Database RW         connected         1433     mssql