I set the dropbear_acl variable to a non root user’s authorized_keys file. I couldn’t login remotely so I checked the authorized_keys file in the initramfs. I’m using zfsbootmenu so I just dropped to the emergency shell to check it.
I noticed that the content of the file was correct, but its ownership was 1000:1000. I chown’d the authorized_keys to root:root and could instantly connect from the remote terminal.
Should the installation be setting the authorized_keys file ownership properties after copying it across?
I set the dropbear_acl variable to a non root user’s authorized_keys file. I couldn’t login remotely so I checked the authorized_keys file in the initramfs. I’m using zfsbootmenu so I just dropped to the emergency shell to check it.
I noticed that the content of the file was correct, but its ownership was 1000:1000. I chown’d the authorized_keys to root:root and could instantly connect from the remote terminal.
Should the installation be setting the authorized_keys file ownership properties after copying it across?