summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGiteabot <teabot@gitea.io>2023-12-18 23:25:52 +0800
committerGitHub <noreply@github.com>2023-12-18 15:25:52 +0000
commit4462628a262ed9bc667fa9e2a22af24359d02ceb (patch)
tree7ec27ab9d516d19e7c546e50a603b1f6e84c6f6f
parenta3f403f438e7f5b5dca3a5042fae8e68a896b1e7 (diff)
downloadgitea-4462628a262ed9bc667fa9e2a22af24359d02ceb.tar.gz
gitea-4462628a262ed9bc667fa9e2a22af24359d02ceb.zip
Improve the prompt for "ssh-keygen sign" (#28509) (#28510)
Backport #28509 by wxiaoguang Close #28505 Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
-rw-r--r--templates/user/settings/keys_ssh.tmpl2
1 files changed, 1 insertions, 1 deletions
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 @@
<input readonly="" value="{{$.TokenToSign}}">
<div class="help">
<p>{{ctx.Locale.Tr "settings.ssh_token_help"}}</p>
- <p><code>{{printf "echo -n '%s' | ssh-keygen -Y sign -n gitea -f /path_to_your_privkey" $.TokenToSign}}</code></p>
+ <p><code>{{printf "echo -n '%s' | ssh-keygen -Y sign -n gitea -f /path_to_PrivateKey_or_RelatedPublicKey" $.TokenToSign}}</code></p>
</div>
<br>
</div>