dynamic user for authorized keys and bug fix
This commit is contained in:
@@ -17,7 +17,7 @@
|
||||
⚠️ The installation command <b>will not be shown again later.</b> ⚠️
|
||||
</div>
|
||||
<div class="alert alert-success" role="alert">
|
||||
Run the command below to login the server <br><code>bash <( curl -s https://raw.githubusercontent.com/itsmrval/accessgate/scripts/agent.sh ) '<%= locals.secret.url %>' <%= locals.secret.name %> <%= locals.secret.content %> </code>
|
||||
Run the command below to login the server <br><code>bash <( curl -s https://raw.githubusercontent.com/itsmrval/accessgate/scripts/agent.sh ) '<%= locals.secret.url %>' <%= locals.secret.name %> <%= locals.secret.content %> <%= locals.secret.user %> </code>
|
||||
</div>
|
||||
<% } %>
|
||||
|
||||
@@ -54,7 +54,7 @@
|
||||
<td><%= server.ip %></td>
|
||||
<td><%= server.username %></td>
|
||||
|
||||
<td><%= server.lastPull %> <% if (!server.lastPull) { %>never<% } %></td>
|
||||
<td><%= server.lastPull.toISOString().replace(/T/, ' ').replace(/\..+/, '') %> <% if (!server.lastPull) { %>never<% } %></td>
|
||||
<td style="text-align: right;"> <a class="btn btn-sm btn-danger" href="/admin/servers/delete/<%= server.hostname %>"><i class="far fa-trash-alt"></i></a></td>
|
||||
</tr>
|
||||
<% }) %>
|
||||
|
||||
Reference in New Issue
Block a user