install: update ssh config

feature/symbol-search
bretello 2020-03-01 19:48:55 +01:00
parent a6179bae91
commit 94e5885120
1 changed files with 2 additions and 2 deletions

View File

@ -54,9 +54,9 @@ function create_ssh_config {
echo "Enter ssh-key comment (leave empty for default: user@host)" echo "Enter ssh-key comment (leave empty for default: user@host)"
read comment read comment
if [[ $comment ]]; then if [[ $comment ]]; then
ssh-keygen -t rsa -b 4096 -C $comment ssh-keygen -t ed25519 -C "$comment"
else else
ssh-keygen -t rsa -b 4096 ssh-keygen -t ed25519
fi fi
# fix permissions # fix permissions
chmod 0700 "$HOME/.ssh" chmod 0700 "$HOME/.ssh"