diff options
author | Giteabot <teabot@gitea.io> | 2023-12-18 23:25:52 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-18 15:25:52 +0000 |
commit | 4462628a262ed9bc667fa9e2a22af24359d02ceb (patch) | |
tree | 7ec27ab9d516d19e7c546e50a603b1f6e84c6f6f | |
parent | a3f403f438e7f5b5dca3a5042fae8e68a896b1e7 (diff) | |
download | gitea-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.tmpl | 2 |
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> |