{% extends "admin/dbs/wiki/_layout.html" %} {% block wiki %}

SFTP targets and the console

A target holds everything needed to reach one server. Credentials are encrypted at rest under a key derived from SECRET_KEY and are never shown again after saving.

Host keys

Give a known_hosts file, or tick auto-add to accept an unknown host key on first contact. Auto-add trades away detection of a machine-in-the-middle on that first connection.

The console

The named actions — check the connection, create the remote directory, list backups — run fixed commands with no free-form input. Setting DBS_ADMIN_CONSOLE_SHELL = True also enables an open command box, which gives every superuser arbitrary command execution on that server from a browser. It is off by default for that reason. Every console action is written to the audit log.

{% endblock %}