{% extends 'prefs.html' %} {% set active_panelid='sshkeys' %} {% block panel %} {% include 'message.html' %} {% from 'include/modal_dialog.html' import modal_dialog, button_confirm, modal_confirm %} {% if disable_ssh_keys %} {% trans %}SSH Keys management is disabled by your administrator.{% endtrans %} {% else %}

{% trans %}SSH keys{% endtrans %}

{% trans %}SSH keys allow you to establish a secure connection between your computer and this backup system. This is a list of SSH keys associated with your account. Remove any keys that you do not recognize.{% endtrans %}

{% if not is_maintainer %}

{% trans %}Ask your administrator to delete SSH Keys.{% endtrans %}

{% endif %} {# djlint:off #} {# Dialog to create SSH key. #} {% call modal_dialog('add-sshkey-modal',_('Add SSH key'), _('Add SSH key')) %} {{ form }} {% endcall %} {# djlint:on #} {{ modal_confirm( id='delete-sshkey-modal', title=_('Delete SSH key'), message=_("Are you sure you want to delete this SSH Key?"), fields=['action', 'fingerprint'], submit=_('Delete')) }} {% endif %} {% endblock %}