{% extends "base.html" %} {% import "_macros.html" as m with context %} {% block title %}Save this login{% endblock %} {% block content %}
{{ m.icon("up") }}{{ a.site }}

{{ title }}

Save {{ "the key and the password" if a.key and a.ftp_password else ("the key" if a.key else "the password") }} now. The panel keeps no readable copy and will not show {{ "them" if a.key and a.ftp_password else "it" }} again.

{% if app %}
{{ app }} is being installed. This takes a minute or two. Its admin login appears on the website's page.
{% endif %} {% if a.ssh or a.sftp %}

{{ "SSH and SFTP" if a.ssh and a.sftp else ("SSH" if a.ssh else "SFTP") }}

Sign in with the key, there is no password.

Server
{{ a.host }}
{{ m.copy(a.host) }}
Port
{{ a.port }}
{{ m.copy(a.port) }}
User name
{{ a.username }}
{{ m.copy(a.username) }}
{% if a.key %}
{{ m.copy(a.key) }}
{% else %}

The key of this login did not change.

{% endif %} {% if a.ssh %}
chmod 600 {{ a.username }}.key
ssh -i {{ a.username }}.key{{ " -p %s" % a.port if a.port != 22 }} {{ a.username }}@{{ a.host }}
{% endif %}
{% endif %} {% if a.ftp %}

FTP

FTP cannot use keys, so it has a password. Choose "Require explicit FTP over TLS" in your client; unencrypted connections are refused.

Server
{{ a.host }}
{{ m.copy(a.host) }}
Port
21
{{ m.copy("21") }}
User name
{{ a.username }}
{{ m.copy(a.username) }} {% if a.ftp_password %}
Password
{{ a.ftp_password }}
{{ m.copy(a.ftp_password) }}{% endif %}
{% if not a.ftp_password %}

The password of this login did not change.

{% endif %}
{% endif %}
I saved it, continue
{% endblock %}