Adding Support Staff SSH Keys using RPM
Posted by Chris Swingler, Last modified by Kevin Stange on 09 June 2021 04:23 PM
This document outlines how to utilize RPMs to grant access to the Steadfast Staff access to your server.
Adding the Steadfast YUM repository
You can install an RPM to your system to automatically add the repository data to the yum configuration.
Install the steadfast-release RPM. The repository package file is identical for all versions of CentOS.
Installing the steadfast-keys RPM
After installing the steadfast-release RPM as above, you can use yum to install the steadfast-keys RPM.
Note: If you already have a /root/.ssh/authorized_keys2 file in place, this action will overwrite it. The existing file will be saved to /root/.ssh/authorized_keys2.rpmorig.
Note that on the initial install you are prompted to import the GPG key. Verify that the key ID matches the information below:
At this point, the Steadfast Staff Public Keys have been installed to your system at /root/.ssh/authorized_keys2. To update the keys with the most recent list, run "yum update" on your system.
If you've been supplied a system and you would like to revoke access for the Steadfast Support Staff to your system, simply remove the steadfast-keys RPM:
You can verify that the deinstall took place by checking if the /root/.ssh/authorized_keys2 file still exists.