You are not logged in.
Pages: 1
Hello,
I'm trying to follow (https://wiki.archlinux.org/title/Dm-cry … mkinitcpio) article to unlock encrypted root volume over SSH using tinyssh.
What I have right now:
- The machine asks for a password on the boot screen.
- I can SSH into the machine
- I can run /lib/systemd/system-cryptattach root /dev/mapper/hydrogen-root and successfully decrypt the root volume.
- But sd-encrypt hook is still running and waiting for password on the boot screen.
What am I missing?
My /etc/mkinitcpio.conf:
MODULES=()
BINARIES=()
FILES=()
HOOKS=(base systemd keyboard autodetect modconf sd-vconsole block lvm2 sd-network sd-tinyssh sd-encrypt filesystems fsck)
COMPRESSION="zstd"
I'm trying to use mkinitcpio-systemd-extras, but I also gave mkinitcpio-systemd-tool a shot too and still got the same results.
Offline
Ah, looks like I was missing SD_TINYSSH_COMMAND="systemd-tty-ask-password-agent --query --watch" in mkinitcpio.conf
Offline
Pages: 1