From 4462628a262ed9bc667fa9e2a22af24359d02ceb 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 --- 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 f4aa7ef968..fc8b70ea28 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}}