You can update your hosts step-ssh version in a few quick steps. 


Step 1: SSH to your host as a user with root access. (Keep the hostname handy, you will need it later)

ssh <hostname>

Step 2: Run all steps as the root user.

sudo su

Step 3: Install the latest step-ssh utilities

  • Install on Ubuntu & Debian (DEB package)
    curl -LO https://dl.step.sm/s3/ssh/docs-ssh-host-step-by-step/step-ssh_latest_amd64.deb && dpkg -i step-ssh_latest_amd64.deb
  • Install on CentOS or Amazon Linux 2 (RPM package)

    curl -LO "https://dl.step.sm/s3/ssh/docs-ssh-host-step-by-step/step-ssh_latest_x86_64.rpm" && yum -y install step-ssh_latest_x86_64.rpm


Step 4: Activate the PAM/NSS Modules & HUP SSHD

export hostname="[hostname]"
step-ssh activate "$hostname"