{% extends "base.html" %} {# server/templates/devices/list.html — Geräte, Zugangsanfragen, Runner — Geändert: 2026-10-12 CET #} {% block title %}Devices · Forge{% endblock %} {% block content %}

Devices

Which devices belong to which tenant. Every operation is signed by a device.

{% if access.error %} {% endif %} {% if access.server_id %}

Access requests

New device: in the project folder run forge device request --wait. Compare the check code here with the one in the terminal, then approve. The device then confirms this server's identifier: {{ access.server_id }}

{% for item in access.requests %}
{{ item.label }}
Tenant {{ item.tenant_name }} · requested {{ item.requested|date:"d.m.Y H:i" }}
Check code
{{ item.code }}
{% csrf_token %}
{% csrf_token %}
{% empty %}

No open requests.

{% endfor %}

Runners

Heartbeats of the last minute count; the reachable one with the best rank takes over (forge runner prefer picks another).

{% if access.runners %}
{% for item in access.runners %} {% endfor %}
NameTenantRankDeviceLast seenStatus
{{ item.name }}{% if item.preferred %} (preferred){% endif %} {{ item.tenant_name }} {{ item.rank }} {{ item.device }} {{ item.seen|date:"d.m.Y H:i:s" }} {% if item.responsible %}responsible{% elif item.alive %}reachable{% else %}quiet{% endif %}
{% else %}

No runner has reported yet.

{% endif %}
{% endif %} {% if unregistered %} {% endif %}
{% if devices %}
{% for device in devices %} {% endfor %}
LabelTenantDevice IDRegisteredAccessStatus
{{ device.label }}
{% csrf_token %}
{{ device.tenant_name }} {{ device.tenant_id|slice:":8" }} {{ device.device_id }} {{ device.added_at|date:"d.m.Y" }} by {{ device.added_by.username }} {% if device.has_grant %}Grant{% else %}—{% endif %} {% if device.is_active %}active{% else %}revoked{% endif %} {% if device.is_active %}
{% csrf_token %}
{% endif %}
{% else %}

No device registered yet.

{% endif %}

Register a device

Paste the content of ~/.config/forge/device.pub. The file contains public keys only.

{% csrf_token %}
{% if tenants %} {% else %} {% endif %}
{% endblock %}