Install the Advanced Server Access server agent on Ubuntu or Debian

To install the Advanced Server Access server agent:

  1. Add the Advanced Server Access repository key.

    curl -fsSL | gpg --dearmor | sudo tee /usr/share/keyrings/oktapam-2023-archive-keyring.gpg > /dev/null

  2. Create a package resource list entry. Replace DISTRIBUTION with the appropriate distribution name such as xenial, jammy, or bullseye. The distribution name for supported platforms are provided in the table below.

    echo "deb [signed-by=/usr/share/keyrings/oktapam-2023-archive-keyring.gpg] DISTRIBUTION okta" | sudo tee /etc/apt/sources.list.d/oktapam-stable.list




    Ubuntu 16.04 xenial

    Ubuntu 18.04 bionic

    Ubuntu 20.04 focal

    Ubuntu 22.04 jammy


    Debian 10 buster

    Debian 11 bullseye

  3. Update the list of available packages:

    sudo apt-get update

  4. Search for the Advanced Server Access packages.

    sudo apt-cache search scaleft

  5. Install the Okta server agent.

    sudo apt-get install scaleft-server-tools. The sftd daemon starts automatically.

  6. Optional. Verify that the daemon is running.
    SystemUser Action
    Systems that use the journald service Enter sudo journalctl -u sftd
    Systems that don't use the journald serviceReview the log file located at /var/log/sftd.log

Next steps