From 2878d079269eb74037175db5a2ddb19544e39c3f Mon Sep 17 00:00:00 2001 From: Giteabot Date: Mon, 18 Dec 2023 23:25:52 +0800 Subject: [PATCH] Improve the prompt for "ssh-keygen sign" (#28509) (#28510) Backport #28509 by wxiaoguang Close #28505 Co-authored-by: wxiaoguang (cherry picked from commit 4462628a262ed9bc667fa9e2a22af24359d02ceb) --- templates/user/settings/keys_ssh.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/user/settings/keys_ssh.tmpl b/templates/user/settings/keys_ssh.tmpl index 7b8c97f7b1..01afb54c82 100644 --- a/templates/user/settings/keys_ssh.tmpl +++ b/templates/user/settings/keys_ssh.tmpl @@ -78,7 +78,7 @@

{{ctx.Locale.Tr "settings.ssh_token_help"}}

-

{{printf "echo -n '%s' | ssh-keygen -Y sign -n gitea -f /path_to_your_privkey" $.TokenToSign}}

+

{{printf "echo -n '%s' | ssh-keygen -Y sign -n gitea -f /path_to_PrivateKey_or_RelatedPublicKey" $.TokenToSign}}