{% extends "base.html" %} {% block body_class %}computer-page{% endblock %} {% block content %}
← {{ t('common.workspace') }}

{% if computer.connection_method == 'node' %}Termroom Node{% else %}{{ t('ssh.detail.eyebrow') }}{% endif %}

{{ computer.name }}

{{ remote_status.label }} {% if remote_status.last_success_label %}{{ t('remote.last_success', time=remote_status.last_success_label) }}{% endif %} {% if computer.connection_method == 'ssh' %}{{ computer.username }}@{{ computer.host }}{% if computer.port != 22 %}:{{ computer.port }}{% endif %}{% endif %}

{% if computer.connection_method == 'ssh' %}
{% else %} {{ t('remote.check_again') }} {% endif %}
{% if error %}
{% if computer.connection_method == 'node' %}{{ t('node.detail.needs_check') }}{% else %}{{ t('ssh.detail.needs_check') }}{% endif %}

{{ error }}

{% elif checked %}
{{ t('ssh.detail.checked') }}

{{ t('ssh.detail.checked_copy') }}

{% elif connected %}
{% if computer.connection_method == 'node' %}{{ t('node.detail.paired') }}{% else %}{{ t('ssh.detail.connected') }}{% endif %}

{% if computer.connection_method == 'node' %}{{ t('node.detail.paired_copy') }}{% else %}{{ t('ssh.detail.connected_copy') }}{% endif %}

{% endif %} {% if password_updated %}
{{ t('ssh.detail.password_updated') }}

{{ t('ssh.detail.password_updated_copy') }}

{% endif %} {% if run_base_updated %}
{{ t('ssh.detail.run_base_saved') }}
{% endif %} {% if name_updated %}
{{ t('ssh.detail.name_saved') }}
{% endif %}

{{ t('ssh.detail.connection_name') }}

{% if computer.connection_method == 'node' %}{{ t('node.detail.connection_name_copy') }}{% else %}{{ t('ssh.detail.connection_name_copy') }}{% endif %}

{% if computer.connection_method == 'node' %} {{ t('node.detail.fingerprint') }}{{ computer.node_fingerprint }} {{ t('node.detail.protocol') }}v{{ computer.node_protocol_version }} {{ t('ssh.detail.requirements') }}Termroom Node + tmux {% else %} {{ t('ssh.detail.host_key') }}{{ computer.host_fingerprint }} {{ t('ssh.detail.auth') }}{% if computer.auth_kind == 'password' %}{{ t('ssh.detail.auth_password') }}{% elif computer.identity_file == managed_key_path %}{{ t('ssh.detail.auth_public_key') }}{% elif computer.identity_file %}{{ t('ssh.detail.auth_existing') }}{% else %}{{ t('ssh.detail.auth_config') }}{% endif %} {{ t('ssh.detail.requirements') }}SSH + tmux {% endif %}
{% if computer.connection_method != 'node' %}
{{ t('server_terminal.title') }}

{{ t('server_terminal.copy', username=computer.username) }}

{% endif %}
{{ t('open.workspaces_live_elsewhere') }}

{% if computer.connection_method == 'node' %}{{ t('node.detail.workspaces_copy') }}{% else %}{{ t('open.workspaces_live_elsewhere_copy') }}{% endif %}

{{ t('home.open_workspace') }}
{% if computer.connection_method != 'node' %}

{{ t('ssh.detail.run_base') }}

{{ t('ssh.detail.run_base_copy') }}

{% endif %} {% if computer.auth_kind == 'password' %}
{{ t('ssh.detail.update_password') }}
{{ t('ssh.detail.update_password_copy') }}
{% endif %} {% if computer.connection_method == 'node' and not computer.node_revoked_at %}

{{ t('node.detail.revoke') }}

{{ t('node.detail.revoke_copy') }}

{% endif %}

{{ t('ssh.detail.remove') }}

{% if computer.connection_method == 'node' %}{{ t('node.detail.remove_copy') }}{% else %}{{ t('ssh.detail.remove_copy') }}{% endif %}

{% endblock %}