Skip to content

Commit 1de37ce

Browse files
wxiaoguangGiteaBot
authored andcommitted
Improve the prompt for "ssh-keygen sign" (go-gitea#28509)
Close go-gitea#28505, ref: * go-gitea#20112 (comment) * go-gitea#28505 (comment)
1 parent a3f403f commit 1de37ce

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)