SSH认证--私钥认证方式增加用户名选项

This commit is contained in:
刘祥超
2021-06-30 14:55:21 +08:00
parent 81a3b299f0
commit 9a915a48b5
6 changed files with 33 additions and 2 deletions

View File

@@ -1,5 +1,6 @@
{$layout}
{$template "grant_menu"}
{$template "/code_editor"}
<table class="ui table selectable definition">
<tr>
@@ -34,10 +35,16 @@
<!-- 私钥 -->
<tbody v-if="grant.method == 'privateKey'">
<tr>
<td>SSH用户名</td>
<td>{{grant.username}}
<p class="comment">SSH登录用户名。</p>
</td>
</tr>
<tr>
<td>RSA私钥</td>
<td>
{{grant.privateKey}}
<source-code-box type="text/plain">{{grant.privateKey}}</source-code-box>
<p class="comment">用来生成登录SSH公钥的私钥</p>
</td>
</tr>