Backport #28509 by wxiaoguang Close #28505 Co-authored-by: wxiaoguang <wxiaoguang@gmail.com> (cherry picked from commit 4462628a262ed9bc667fa9e2a22af24359d02ceb)
This commit is contained in:
parent
cd5a0ec1c8
commit
2878d07926
1 changed files with 1 additions and 1 deletions
|
@ -78,7 +78,7 @@
|
||||||
<input readonly="" value="{{$.TokenToSign}}">
|
<input readonly="" value="{{$.TokenToSign}}">
|
||||||
<div class="help">
|
<div class="help">
|
||||||
<p>{{ctx.Locale.Tr "settings.ssh_token_help"}}</p>
|
<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>
|
</div>
|
||||||
<br>
|
<br>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue