{% extends "hosting/base.html" %} {% block title %}SFTP access · Coulobre Panel{% endblock %} {% block content %} ← {{ account.name }}

SFTP access

{{ account.primary_domain }}

{% if account.sftp and not account.sftp.finished_at %} Refresh status {% endif %}
{% with request_status=account.sftp %} {% if request_status %}

{% if request_status.state == "configured" %} {% if request_status.public_keys %}SSH keys installed.{% else %}SFTP access revoked.{% endif %} {% elif request_status.state == "failed" %} {{ request_status.problem }} {% elif request_status.state == "running" %} Applying SSH keys. {% else %} SSH key request queued. {% endif %}

{% endif %}

Generate an SSH key

Run this command on your computer.

ssh-keygen -t ed25519

Choose a passphrase when prompted. Use a different filename if you already have a key. With the default filename, upload ~/.ssh/id_ed25519.pub. Keep the private key on your computer.

Use the web node's SSH hostname and port with the username coulobre-{{ account.pk }}. The SFTP session starts in /public.

{{ form.non_field_errors }} {{ form.operation.errors }} {{ form.fingerprint.errors }} {% if ssh_keys %}

SSH keys

Run ssh-keygen -lf ~/.ssh/id_ed25519.pub to check a key's fingerprint.

{% if can_edit_keys %}{% endif %} {% for key_type, fingerprint in ssh_keys %} {% if can_edit_keys %} {% endif %} {% endfor %}
Key type FingerprintActions
{{ key_type }} {{ fingerprint }}
{% include "hosting/customer_action_fields.html" %}
{% endif %} {% if can_edit_keys or can_revoke_keys %}
{% include "hosting/customer_action_fields.html" %} {% if can_edit_keys %} {{ form.public_keys.as_field_group }} {% endif %}
{% if can_edit_keys %}{% endif %} {% if can_revoke_keys %} {% endif %}
{% endif %} {% endwith %} {% endblock %}