Browse Source

Improve the prompt for "ssh-keygen sign" (#28509) (#28510)

Backport #28509 by wxiaoguang

Close #28505

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
tags/v1.21.3
Giteabot 5 months ago
parent
commit
4462628a26
No account linked to committer's email address
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      templates/user/settings/keys_ssh.tmpl

+ 1
- 1
templates/user/settings/keys_ssh.tmpl View File

@@ -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>

Loading…
Cancel
Save