How to upgrade the step-ssh utilities on an existing host

Edited

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"

Was this article helpful?

Sorry about that! Care to tell us more?

Thanks for the feedback!

There was an issue submitting your feedback
Please check your connection and try again.