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

Closes #131

Signed-off-by: Vlad Petrov <ejiek@mail.ru>
Signed-off-by: Maurice Zhou <ja@apvc.uk>
[more concise wording; fix rst formatting]
Signed-off-by: Richard Laager <rlaager@wiktel.com>
  • Loading branch information
ejiektpobehuk authored and rlaager committed Mar 24, 2021
1 parent 686f234 commit 8a996a1
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 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,17 @@ Optional Configuration

ssh-keygen -Am pem

#. Manually convert ed25519 host key to dropbear
-readable format::

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

`mkinitcpio-dropbear
<https://archlinux.org/packages/community/any/mkinitcpio-dropbear/>`__,
lacks support for converting ed25519 host key,
`see this pull request
<https://github.com/grazzolini/mkinitcpio-dropbear/pull/13>`__.

#. Regenerate initrd::

mkinitcpio -P
Expand Down

0 comments on commit 8a996a1

Please sign in to comment.