{% extends "base.html" %} {% load i18n %} {% load translations %} {% load crispy_forms_tags %} {% block breadcrumbs %}
  • {% trans "Manage" %}
  • {% trans "SSH keys" %}
  • {% endblock %} {% 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 %} {% blocktrans with key_type=ssh_key.name %}Generate {{ key_type }} SSH key{% endblocktrans %}

    {% blocktrans 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.{% endblocktrans %}

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

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

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

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

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