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 https://dist.scaleft.com/GPG-KEY-OktaPAM-2023 | 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.

    Stable

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

    Preview

    echo "deb [signed-by=/usr/share/keyrings/oktapam-2023-archive-keyring.gpg] https://dist.scaleft.com/repos/deb DISTRIBUTION okta" | sudo tee /etc/apt/sources.list.d/oktapam-preview.list

    Platform

    Version

    Ubuntu

    Ubuntu 16.04 xenial

    Ubuntu 18.04 bionic

    Ubuntu 20.04 focal

    Ubuntu 22.04 jammy

    Ubuntu 24.04 noble

    Debian

    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

Server Enrollment