Rocky 10 - error messages
Hi,
I am a dracut-sshd user for years, with CentOS 7 up to Rocky 9 lately.
Currently my next move should be to Rocky 10 but I have not yet managed to get it working on Rocky 10.
I have configured the following:
with a fresh minimal install:
installed os packages:
- dracut-network
- systemd-networkd
- dracut-sshd
```
# rpm -q dracut dracut-network dracut-sshd systemd-networkd
dracut-105-4.el10_0.x86_64
dracut-network-105-4.el10_0.x86_64
dracut-sshd-0.7.1-1.el10_1.noarch
systemd-networkd-257.9-2.el10_1.x86_64
```
```
# /etc/systemd/network/20-wired.network
[Match]
Name=e*
[Network]
DHCP=ipv4
```
```
# /etc/dracut.conf.d/90-networkd.conf
install_items+=" /etc/systemd/network/20-wired.network "
add_dracutmodules+=" systemd-networkd "
```
created folder: /etc/dracut-sshd root:root 0700
added /etc/dracut-sshd/authorized_keys root:root 0600
ran dracut -f -v
lsinitrd | grep 'authorized\|bin/sshd\|network/20'
looks like in the documentation.
Error message:
<img width="1281" height="315" alt="Image" src="https://github.com/user-attachments/assets/9bcb081a-55ba-40f0-948f-73dff4a6b6f3" />
Earlier I was using the cmdline approach but this always got a rejected key message.
my sshd key is the same i would use for the rocky9 installations and there it works. It's a ed25519 key.
How could I debug this?
Best regards,
Uwe
2 条评论