Skip to content

Commit

Permalink
Arch Linux: Remove DropBear key limitation note
Browse files Browse the repository at this point in the history
ed25519 support: mkj/dropbear#91

Signed-off-by: Vlad Petrov <ejiek@mail.ru>
  • Loading branch information
ejiektpobehuk committed Mar 23, 2021
1 parent 686f234 commit af93344
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions docs/Getting Started/Arch Linux/Arch Linux Root on ZFS.rst
Original file line number Diff line number Diff line change
Expand Up @@ -749,8 +749,6 @@ Optional Configuration

vi /etc/dropbear/root_key

Note that dropbear only supports RSA keys.

#. Edit mkinitcpio::

tee /etc/mkinitcpio.conf <<- 'EOF'
Expand All @@ -769,6 +767,10 @@ Optional Configuration

ssh-keygen -Am pem

Note: Dropbear already support ED25519 host key but until support is `merged in mkinitcpio-dropbear <https://github.com/grazzolini/mkinitcpio-dropbear/pull/13>` and `packaged <https://archlinux.org/packages/community/any/mkinitcpio-dropbear/>` you have to manually convert this key:

dropbearconvert openssh dropbear /etc/ssh/ssh_host_ed25519_key /etc/dropbear/dropbear_ed25519_host_key

#. Regenerate initrd::

mkinitcpio -P
Expand Down

0 comments on commit af93344

Please sign in to comment.