{% extends "base.html" %} {% load i18n %} {% load translations %} {% load crispy_forms_tags %} {% block breadcrumbs %}
  • {% trans "Manage" %}
  • {% trans "SSH keys" %}
  • {% endblock %} {% block content %} {% if public_key %}

    {% documentation_icon 'vcs' 'ssh-repos' right=True %} {% trans "Public SSH key" %}

    {% include "snippets/ssh-key.html" with ssh_key=public_key %}
    {% elif can_generate %}

    {% documentation_icon 'vcs' 'ssh-repos' right=True %} {% trans "Generate SSH key" %}

    {% trans "You don't seem to have existing SSH key, by pressing button below Weblate will generate one for you." %}

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