User Tools

Site Tools


pages:howtos:debian:dropbear-luks

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
pages:howtos:debian:dropbear-luks [2023/07/03 12:24] – created mischerhpages:howtos:debian:dropbear-luks [2023/07/03 12:28] (current) – [Install/Configure dropbear for remote unlocking encrypted root/swap-filesystems functionality] mischerh
Line 15: Line 15:
 echo 'DROPBEAR=y' >> /etc/initramfs-tools/initramfs.conf echo 'DROPBEAR=y' >> /etc/initramfs-tools/initramfs.conf
 sed -i 's/DEVICE=/DEVICE=<YOURNETWORKDEVICE>/'  /etc/initramfs-tools/initramfs.conf sed -i 's/DEVICE=/DEVICE=<YOURNETWORKDEVICE>/'  /etc/initramfs-tools/initramfs.conf
-echo 'IP=::::<YOURHOSTNAME>-luks:enp0s25:dhcp' >> /etc/initramfs-tools/initramfs.conf+echo 'IP=::::<YOURHOSTNAME>-luks:<YOURNETWORKDEVICE>:dhcp' >> /etc/initramfs-tools/initramfs.conf
 echo "<YOURSSHPUBLICKEY>" >> /etc/dropbear-initramfs/authorized_keys echo "<YOURSSHPUBLICKEY>" >> /etc/dropbear-initramfs/authorized_keys
 echo "<YOURBACKUPSSHPUBLICKEY>" >> /etc/dropbear-initramfs/authorized_keys echo "<YOURBACKUPSSHPUBLICKEY>" >> /etc/dropbear-initramfs/authorized_keys
Line 21: Line 21:
 </sxh> </sxh>
 <WRAP center round tip 60%> <WRAP center round tip 60%>
-If you have authenticated via your SSH-key and are logged on to dropbears SSH server, use the following command to decrypt the LUKS partition and to get prompted for a password:+Use the following commands to log on to dropbears SSH server, authenticate with your SSH-key and to decrypt the LUKS partition:
 <sxh bash; gutter: false> <sxh bash; gutter: false>
 # connect to dropbears SSH server on denker, # connect to dropbears SSH server on denker,
 # you will get authenticated with your SSH key. # you will get authenticated with your SSH key.
-ssh denker-luks -l root+ssh <YOURHOSTNAME>-luks -l root
 # then issue the following command: # then issue the following command:
 cryptroot-unlock cryptroot-unlock
pages/howtos/debian/dropbear-luks.1688387061.txt.gz · Last modified: 2023/07/03 12:24 by mischerh