{% extends "admin/dbs/base.html" %} {% block dbs_content %}

Connection details

A DBS manager reaches this project over SSH and runs its management commands. Copy these details into the manager's Add a server step, or run python manage.py dbs connection --json on this server to get the same text.

{% for key in details.host_keys %} {% empty %} {% endfor %}
Host{{ details.hostname }}
SSH user{{ details.ssh_user|default:"-" }}
Project directory{{ details.project_dir }}
Python{{ details.python_path }}
manage.py{{ details.manage_path|default:"-" }}
Settings module{{ details.settings_module|default:"-" }}
Backup directory{{ details.remote_backup_dir|default:"not set" }}
.env file{{ details.env_path|default:"none found" }}
DBS version{{ details.dbs_version }}
Host key{{ key.type }} {{ key.fingerprint }}
Host keyNo readable host key in /etc/ssh; compare the fingerprint the manager shows with ssh-keyscan.

Let the manager in

Add the manager's public key as one line in ~{{ details.ssh_user|default:"user" }}/.ssh/authorized_keys for the user that owns the project directory. The manager shows that line when it creates a key for this server.

Snippet

{{ snippet }}

{% endblock %}