From 94e58851202cad32621fa6075aa2ccfc543791e3 Mon Sep 17 00:00:00 2001 From: bretello Date: Sun, 1 Mar 2020 19:48:55 +0100 Subject: [PATCH] install: update ssh config --- install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install.sh b/install.sh index 2d3082e..642a2d3 100755 --- a/install.sh +++ b/install.sh @@ -54,9 +54,9 @@ function create_ssh_config { echo "Enter ssh-key comment (leave empty for default: user@host)" read comment if [[ $comment ]]; then - ssh-keygen -t rsa -b 4096 -C $comment + ssh-keygen -t ed25519 -C "$comment" else - ssh-keygen -t rsa -b 4096 + ssh-keygen -t ed25519 fi # fix permissions chmod 0700 "$HOME/.ssh"