1
0
mirror of synced 2025-10-29 02:19:19 +00:00

dynamic user for authorized keys and bug fix

This commit is contained in:
Valentin
2023-09-13 15:46:40 +02:00
parent 7b0a757fc7
commit 092ab264bc
10 changed files with 55 additions and 14 deletions

View File

@@ -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>
<% }) %>