Skip to content

Commit bf8b082

Browse files
authored
Improve the prompt for "ssh-keygen sign" (#28509)
Close #28505, ref: * #20112 (comment) * #28505 (comment)
1 parent 69f2b69 commit bf8b082

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/user/settings/keys_ssh.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@
7878
<input readonly="" value="{{$.TokenToSign}}">
7979
<div class="help">
8080
<p>{{ctx.Locale.Tr "settings.ssh_token_help"}}</p>
81-
<p><code>{{printf "echo -n '%s' | ssh-keygen -Y sign -n gitea -f /path_to_your_privkey" $.TokenToSign}}</code></p>
81+
<p><code>{{printf "echo -n '%s' | ssh-keygen -Y sign -n gitea -f /path_to_PrivateKey_or_RelatedPublicKey" $.TokenToSign}}</code></p>
8282
</div>
8383
<br>
8484
</div>

0 commit comments

Comments
 (0)