From 3f4e2d9d376b553ee931e1539174372ed550dd27 Mon Sep 17 00:00:00 2001 From: Jakob Ackermann Date: Thu, 4 Apr 2019 07:09:38 +0200 Subject: [PATCH] [docker] drop the bits argument when generating an ed25519 key (#6504) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit From the man page of ssh-keygen:   Ed25519 keys have a fixed length and the -b flag will be ignored. [skip ci] Signed-off-by: Jakob Ackermann --- docker/etc/s6/openssh/setup | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/etc/s6/openssh/setup b/docker/etc/s6/openssh/setup index b529431a15..f8ef816a95 100755 --- a/docker/etc/s6/openssh/setup +++ b/docker/etc/s6/openssh/setup @@ -6,7 +6,7 @@ fi if [ ! -f /data/ssh/ssh_host_ed25519_key ]; then echo "Generating /data/ssh/ssh_host_ed25519_key..." - ssh-keygen -t ed25519 -b 4096 -f /data/ssh/ssh_host_ed25519_key -N "" > /dev/null + ssh-keygen -t ed25519 -f /data/ssh/ssh_host_ed25519_key -N "" > /dev/null fi if [ ! -f /data/ssh/ssh_host_rsa_key ]; then