Skip to content

ssh: add jenkins-unprivileged.pub; drop jenkins-build.pub and jenkins.pub - #733

Open
djgalloway wants to merge 1 commit into
mainfrom
ssh-jenkins-unprivileged
Open

djgalloway wants to merge 1 commit into
mainfrom
ssh-jenkins-unprivileged

Conversation

@djgalloway

@djgalloway djgalloway commented Nov 18, 2026 •

Copy link
Copy Markdown
Contributor

What changed: new ssh/jenkins-unprivileged.pub holds the jenkins-unprivileged@soko04 ed25519 key (SHA256:kMcB24+...). ssh/jenkins-build.pub (two dead 2016 RSA keys) and ssh/jenkins.pub (ubuntu@jenkins, RSA) are deleted.

Why: the key soko04's lab jobs use to ssh to testnodes as ubuntu reached nodes only through the FOG post-download hook; once it is in @all.pub the testnode role can manage ubuntu's authorized_keys exclusively (ceph-cm-ansible #913) and the dead keys stop being baked into every image. The file is named after the account that holds the private key, not after the Jenkins builder account, whose key comes from ceph-build. None of these names is a managed user, so the users role installs none of them.

How to verify: after merge and regenerate, curl -s https://raw.githubusercontent.com/ceph/keys/autogenerated/ssh/@all.pub | ssh-keygen -lf - | grep -E 'kMcB24|8bZu14|6rQ\+gs|WxSS3a' shows only kMcB24.

….pub

jenkins-unprivileged.pub is the key soko04's lab jobs use to ssh to
testnodes as ubuntu. jenkins-build.pub held two dead 2016 RSA keys and
jenkins.pub a dead ubuntu@jenkins key; neither name is a managed user.

Assisted-by: Claude Fable 5.1
Signed-off-by: David Galloway <david.galloway@ibm.com>
@djgalloway
djgalloway force-pushed the ssh-jenkins-unprivileged branch from c9863c6 to 2a4a76e Compare November 18, 2026 20:30
@djgalloway djgalloway changed the title ssh: jenkins-build.pub is the jenkins-unprivileged key; drop ubuntu@jenkins ssh: add jenkins-unprivileged.pub; drop jenkins-build.pub and jenkins.pub Nov 18, 2026
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.

1 participant