File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change 7878 <input readonly="" value="{{$.TokenToSign}}">
7979 <div class="help">
8080 <p>{{ctx.Locale.Tr "settings.ssh_token_help"}}</p>
81+ <p>Linux & macOS</p>
8182 <p><code>{{printf "echo -n '%s' | ssh-keygen -Y sign -n gitea -f /path_to_PrivateKey_or_RelatedPublicKey" $.TokenToSign}}</code></p>
83+ <details>
84+ <summary>Windows PowerShell</summary>
85+ <p><code>{{printf "cmd /c \"<NUL set /p =`\"%s`\"| ssh-keygen -Y sign -n gitea -f /path_to_PrivateKey_or_RelatedPublicKey\"" $.TokenToSign}}</code></p>
86+ </details>
87+ <br>
88+ <details>
89+ <summary>Windows CMD</summary>
90+ <p><code>{{printf "set /p=%s| ssh-keygen -Y sign -n gitea -f /path_to_PrivateKey_or_RelatedPublicKey" $.TokenToSign}}</code></p>
91+ </details>
8292 </div>
8393 <br>
8494 </div>
You can’t perform that action at this time.
0 commit comments