{# Setup a host within skd #} {% extends "index.html" %} {% load i18n %} {% block menu %} {% with "hosts" as current_category %} {{ block.super }} {% endwith %} {% endblock %} {% block content %}
{% csrf_token %}

{% blocktrans with host=host.name user=host.user %} This feature enables you to put the skd public key into the authorized_keys file of user {{ user }} on host {{ host }} for one-time setup. For this you have to enter the password of user {{ user }} on this host. {% endblocktrans %}

{% blocktrans %} This password is never saved and only used for this one-time-setup. {% endblocktrans %}

{% blocktrans %} However, this method is not recommended as it can lead to security problems especially if skd isn't running via a secure channel. {% endblocktrans %}

{% blocktrans %} It would be better for you to manually put the following line into the authorized_keys-file of the remote user on the system: {% endblocktrans %}

{{ sshkey_public }}
{% if status != "none" %} {% if status == "success" %}

{% trans "The commands were sent to the server." %}

{% elif status == "error" %}

{% trans "The host couldn't be set up." %}

{% endif %} {% else %}
{% endif %}
{% endblock content %}