fix entrypoint keygen key type to Ed25519 (#116)

This commit is contained in:
Vlastimil Holer 2023-01-04 18:03:24 +01:00 committed by GitHub
parent 4274d7e4a6
commit 212ea3221b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -3,7 +3,7 @@ set -eo pipefail
if [ -z "$SSHPIPERD_SERVER_KEY" ]; then
if [ ! -f /etc/ssh/ssh_host_ed25519_key ];then
ssh-keygen -t rsa -N '' -f /etc/ssh/ssh_host_ed25519_key
ssh-keygen -t ed25519 -N '' -f /etc/ssh/ssh_host_ed25519_key
fi
fi