Skip to content

Tolerate missing DSA host keys when initializing ssh - #397

Merged
jjohnson42 merged 1 commit into
xcat2:masterfrom
Obihoernchen:fix/ssh-dsa-key-rm
Nov 19, 2026
Merged

jjohnson42 merged 1 commit into
xcat2:masterfrom
Obihoernchen:fix/ssh-dsa-key-rm

Conversation

@Obihoernchen

@Obihoernchen Obihoernchen commented Nov 19, 2026 •

Copy link
Copy Markdown
Member

Fixes the following on EL10:

rm: cannot remove '/etc/ssh/ssh_host_dsa_key*': No such file or directory

Newer OpenSSH no longer generates DSA host keys, so ssh-keygen -A
leaves none behind and the unconditional rm printed an error during
genesis boot and el8 installs.
@jjohnson42
jjohnson42 merged commit 42a4291 into xcat2:master Nov 19, 2026
3 of 4 checks passed
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