{% extends "base.html" %} {% block title %}SSH Setup - Server Monitoring{% endblock %} {% block page_title %}SSH Setup{% endblock %} {% block content %}
{% with messages = get_flashed_messages(with_categories=true) %} {% if messages %} {% for category, message in messages %}
{{ message }}
{% endfor %} {% endif %} {% endwith %}
SSH Key Pair
{% if key_exists %}
SSH key exists at ~/.ssh/ansible_key
{% if public_key %}
Copy this key to ~/.ssh/authorized_keys on each device.
{% endif %} {% else %}
No SSH key found. Generate one below.
{% endif %}
SSH Authentication Settings

When key-based authentication fails, the server falls back to password auth. Set the default password for devices on this network below.

Used when SSH key auth is not available on the target device.
{% endblock %}