recommend ed25519 host keys

Newer OpenSSH versions seem to have problems with (some?) older ssh-rsa keys,
so I figured we could switch to ed25519 and avoid any confusion regarding
ssh-rsa support.
This commit is contained in:
Michael Stapelberg 2021-11-28 15:58:55 +01:00
parent 21a04c8c8b
commit 83d59cddd7

View File

@ -30,7 +30,7 @@ host key and an authorized keys file. Assuming you mounted the
permanent file system at `/media/sdx4`: permanent file system at `/media/sdx4`:
``` ```
sudo ssh-keygen -N '' -t rsa -f /media/sdx4/breakglass.host_key sudo ssh-keygen -N '' -t ed25519 -f /media/sdx4/breakglass.host_key
sudo install -m 600 ~/.ssh/id_*.pub /media/sdx4/breakglass.authorized_keys sudo install -m 600 ~/.ssh/id_*.pub /media/sdx4/breakglass.authorized_keys
``` ```