{# Rdiffweb SSHKeys plugins Copyright (C) 2018 Patrik Dufresne Service Logiciel This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see . #}
{% include 'message.html' %} {% import 'macros.html' as macros %}
{% trans %}SSH Keys{% endtrans %} ({{ sshkeys | length }})

{% 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 %}

    {% for key in sshkeys %}
  • {# Delete button with confirmation. #} {{ macros.delete_confirm( label=_('Delete'), message=_('Are you sure ?'), hiddens={ 'action': 'delete', 'key': key.fingerprint, }) }}
    {{ key.title }}

    {{ key.fingerprint }}

  • {% endfor %}
{# Dialog to create SSH key. #} {% call macros.modal_dialog('add-sshkey-modal',_('Add SSH key'), _('Add SSH key')) %}

{% trans %}The title is an optional description to identify the key. e.g.: bob@thinkpad-t530{% endtrans %}

{% trans %}Enter a SSH public key. It should start with 'ssh-dss', 'ssh-ed25519', 'ssh-rsa', 'ecdsa-sha2-nistp256', 'ecdsa-sha2-nistp384' or 'ecdsa-sha2-nistp521'.{% endtrans %}

{% endcall %}