{% extends "base.html" %} {% import "_macros.html" as m %} {% block title %}SSH Keys — rosbackup-ng{% endblock %} {% block page_title %}SSH Keys{% endblock %} {% block head_actions %}+ Add key{% endblock %} {% block content %}
Router host keys rosbackup-ng has pinned on first connect (trust-on-first-use). They live in its own store — {{ path }} — never your personal ~/.ssh/known_hosts. A changed key is rejected automatically (possible MITM); after a legitimate reinstall/key change, Forget the old key so it re-pins on the next connect.
{% if keys %}| Device | Host | Added | Key type | Fingerprint (SHA256) | ||
|---|---|---|---|---|---|---|
| {% if k.device %}{{ k.device }}{% else %}—{% endif %} | {{ k.host }} | {% if k.added_at %}{{ k.added_at|datetime }}{% else %}—{% endif %} | {{ k.keytype }} | {% if k.fingerprint %}{{ m.copyval(k.fingerprint, 'fingerprint') }}{% else %}—{% endif %} | {{ m.icon_delete('/ui/ssh-keys/' ~ (k.host|urlencode) ~ '/forget', 'Forget the pinned key for “' ~ k.host ~ '”? It will be re-pinned (TOFU) on the next connect.', 'Forget key') }} |
No host keys pinned yet. The first successful connection to each device records its key here automatically.
{% endif %}