{% extends "base.html" %} {% comment %} # SPDX-License-Identifier: AGPL-3.0-or-later {% endcomment %} {% load bootstrap %} {% load i18n %} {% load static %} {% block page_js %} {% endblock %} {% block content %}

{{ title }}

{% if form.non_field_errors %}
× {% for non_field_error in form.non_field_errors %} {{ non_field_error }} {% endfor %}
{% endif %} {% csrf_token %}
{% for error in form.repository.errors %} {{ error }} {% endfor %}

{{ form.repository.help_text|safe }}

{{ form.ssh_auth_type.help_text|safe }}

{% for error in form.ssh_auth_type.errors %} {{ error }} {% endfor %}

{% blocktrans trimmed %} The following SSH client public key must be added to the authorized keys list on the remote machine for {{ box_name }} to be able to connect to the remote machine: {% endblocktrans %}

{{ ssh_client_public_key }}

{% blocktrans trimmed %} {{ box_name }} service will attempt to connect using the provided password. If successful, then the public key will be automatically added to the authorized keys list, so that future connections do not need the password. {% endblocktrans %}

{% with _=form.ssh_password|add_input_classes %} {% include "bootstrapform/field.html" with field=form.ssh_password %} {% endwith %}
{% for error in form.encryption.errors %} {{ error }} {% endfor %}

{{ form.encryption.help_text|safe }}

{% with _=form.encryption_passphrase|add_input_classes %} {% include "bootstrapform/field.html" with field=form.encryption_passphrase %} {% endwith %} {% with _=form.confirm_encryption_passphrase|add_input_classes %} {% include "bootstrapform/field.html" with field=form.confirm_encryption_passphrase %} {% endwith %}
{% endblock %}