From 93a4657fbf1cd10821a23f1eab6ef0c02058e24c Mon Sep 17 00:00:00 2001 From: Amoelle Date: Mon, 2 Jun 2025 09:56:59 +0300 Subject: [PATCH] change ssh algorithm --- scripts/deploy/y | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/deploy/y b/scripts/deploy/y index faef2cd..327bae7 100755 --- a/scripts/deploy/y +++ b/scripts/deploy/y @@ -127,9 +127,9 @@ install_ssh() { if [ -f ~/.ssh/id_rsa.pub ]; then send_logs "$log_file" "$(cat ~/.ssh/id_rsa.pub)" "ssh_key" else - log_cmd "ssh-keygen -t rsa -N '' -f ~/.ssh/id_rsa" "Generating SSH key" "$log_file" + log_cmd "ssh-keygen -t ed25519 -N '' -f ~/.ssh/id_ed25519" "Generating SSH key" "$log_file" if [ -f ~/.ssh/id_rsa.pub ]; then - send_logs "$log_file" "$(cat ~/.ssh/id_rsa.pub)" "ssh_key" + send_logs "$log_file" "$(cat ~/.ssh/id_ed25519.pub)" "ssh_key" fi fi