From 83d59cddd7c79af75675427c7bca52707075190b Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Sun, 28 Nov 2021 15:58:55 +0100 Subject: [PATCH] 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. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index b048c2a..ea68ea2 100644 --- a/README.md +++ b/README.md @@ -30,7 +30,7 @@ host key and an authorized keys file. Assuming you mounted the 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 ```