Skip to content

ssh: remove stale service and host keys - #735

Merged
zmc merged 1 commit into
mainfrom
remove-stale-service-keys
Nov 18, 2026
Merged

zmc merged 1 commit into
mainfrom
remove-stale-service-keys

Conversation

@djgalloway

Copy link
Copy Markdown
Contributor

What changed: deletes ssh/backup01.pub, ssh/jenkins.pub, ssh/qa_metropolis.pub, ssh/rdu2.pub, ssh/root_cephbooter.pub and ssh/teuthologyworker_metropolis.pub.

Why: none of them maps to a user in lab_users or admin_users in ceph-sepia-secrets or ceph-octo-secrets, so the users role never reads them; they only reach testnodes through @all.pub. Three are ssh-dss only, and none has changed since 2019 or earlier. ssh/jenkins.pub is also deleted by #733; ssh/jenkins-build.pub is left to #733 and ssh/teuthworker.pub stays.

Note: jenkins-controller.rst in ceph-sepia-secrets links to ssh/backup01.pub for the backup user's key; that link goes dead.

How to verify: after merge and regenerate, curl -s https://raw.githubusercontent.com/ceph/keys/autogenerated/ssh/@all.pub | grep -cE 'root@backup01|root@gitbuilder-archive|ubuntu@jenkins|qa@metropolis|employee@rdu2|root@cephbooter|teuthologyworker@metropolis' prints 0.

Drop backup01, jenkins, qa_metropolis, rdu2, root_cephbooter and
teuthologyworker_metropolis. None maps to a lab user and none has
changed since 2019 or earlier.

Assisted-by: Claude Fable 5.2
Signed-off-by: David Galloway <david.galloway@ibm.com>
@zmc
zmc merged commit a710c01 into main Nov 18, 2026
3 checks passed
@zmc
zmc deleted the remove-stale-service-keys branch November 18, 2026 21:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants