{#- Developer laptops: the employee baseline ssh config, plus the developer
    extras below. Authentication goes through the ssh-agent only.

    NOTE this file is rendered as a Jinja template even without a .j2 suffix:
    set_block_from_template.yml resolves it through lookup('template', ...),
    which is why the include below works and why a stray {{ or {% in an ssh
    option would be an error rather than a literal.
-#}
# Authenticate through the ssh-agent ONLY. Load the YubiKey into it once per
# login with `pivssh` (one PIN entry, one card session). Until then ssh fails with
# `Permission denied (publickey)`; that is the cue to run `pivssh`. The same goes
# after unplugging the YubiKey, because the agent's session to it goes stale.
#
# There is deliberately NO `PKCS11Provider` here. With one, each ssh process
# opens its OWN session to the card. Ansible connects to every host at once, so
# 20-odd processes queued on one YubiKey, and on 2026-10-01 a `mac-crons` play
# stalled at Gathering Facts, with every connection established but waiting on
# the card. Through the agent, signing is serialized in one place: 8 parallel
# connections took 2s while that play still held the card.
#
# Nothing else in this file may set PKCS11Provider either. ssh takes the first
# value it obtains for a keyword, and the default is none.

{{ lookup("template", "templates/employee_ssh_config") }}

# --- developer extras (node_type: developer) ---------------------------------
{#- Deliberately empty; see developer.zprofile.j2. Host blocks added here land
    inside the "PJ baseline ssh config" marker, so they are managed — a
    developer's own entries still belong in ssh_config_user, which is written
    into its own USER marker afterwards. -#}
