{% extends "base.html" %} {% load crispy_forms_tags i18n translations %} {% block breadcrumbs %}
  • {% translate "Manage" %}
  • {% translate "SSH keys" %}
  • {% endblock breadcrumbs %} {% block content %} {% include "snippets/ssh-key.html" with key_download=True %} {% if can_generate %} {% for ssh_key in missing_ssh_keys %}

    {% documentation_icon 'vcs' 'ssh-repos' right=True %} {% blocktranslate with key_type=ssh_key.name %}Generate {{ key_type }} SSH key{% endblocktranslate %}

    {% blocktranslate with key_type=ssh_key.name %}You don't seem to have existing {{ key_type }} SSH key, by pressing button below Weblate will generate one for you.{% endblocktranslate %}

    {% csrf_token %}
    {% endfor %} {% endif %} {% if host_keys %}

    {% documentation_icon 'vcs' 'verify-ssh' right=True %} {% translate "Known host keys" %}

    {% for key in host_keys %} {% endfor %}
    {% translate "Hostname" %} {% translate "Key type" %} {% translate "Fingerprint" %}
    {{ key.0 }} {{ key.1 }} {{ key.2 }}
    {% endif %}

    {% documentation_icon 'vcs' 'verify-ssh' right=True %} {% translate "Add host key" %}

    {% translate "To access SSH hosts, its host key needs to be verified. You can get the host key by entering a domain name or IP for the host in the form below." %}

    {% crispy add_form %}
    {% endblock content %}