dracut-sshd icon indicating copy to clipboard operation
dracut-sshd copied to clipboard

dracut-106 - SSH-Key rejected

Open MartinX3 opened this issue 1 year ago • 3 comments

Since using dracut v106 my ssh key is always rejected in the ssh session.

MartinX3 avatar Feb 05 '25 17:02 MartinX3

Same for me. I believe SSH got stricter recently when checking account validity and dracut creating two lines for root in /etc/shadow triggered the rejection. It started working again when removing the line.

Compare https://github.com/dracut-ng/dracut-ng/issues/1199

pyromaniac2k avatar Feb 06 '25 19:02 pyromaniac2k

Thanks for letting us know!

FWIW, Fedora Rawhide was still at dracut version 103, a few days ago. Thus, my weekly CI kpb hadn't had a chance to run into this issue, yet.

gsauthof avatar Feb 09 '25 12:02 gsauthof

Upstream has applied a change that should fix this:

https://github.com/dracut-ng/dracut-ng/pull/1212

Thus, looks like this issue can be closed.

gsauthof avatar Nov 30 '25 18:11 gsauthof