From 31b519f9ef108be274cd6da01f809ea9798c66bd Mon Sep 17 00:00:00 2001 From: Konano Date: Wed, 9 Sep 2026 17:23:04 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=20SSH=20=E5=AF=86?= =?UTF-8?q?=E9=92=A5=E5=90=8D=E7=A7=B0=E4=B8=BA=E7=A9=BA=E6=97=B6=E7=9A=84?= =?UTF-8?q?=E5=8F=82=E6=95=B0=E4=BC=A0=E9=80=92?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- configure_user.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configure_user.sh b/configure_user.sh index d6c36aa..cdf436b 100755 --- a/configure_user.sh +++ b/configure_user.sh @@ -24,8 +24,8 @@ configure_ssh_keygen() { if confirm_action "要生成 sshkey 吗?" "N"; then mkdir -p ~/.ssh - read -p "sshkey 的名字: " sshkeyname - ssh-keygen -t ed25519 -C $sshkeyname + read -r -p "sshkey 的名字: " sshkeyname + ssh-keygen -t ed25519 -C "$sshkeyname" fi }