Files
agent-mkosi/mkosi.extra/etc/ssh/sshd_config.d/10-agent.conf
T
2026-11-15 15:52:10 +01:00

10 lines
411 B
Plaintext

# ssh: only the user claude, only with the key asked at setup. The host key is kept on /var
# (agent-boot makes it), so it stays the same across reboots. First value wins: this file sorts
# before Fedora's 50-redhat.conf.
HostKey /var/lib/agent/ssh_host_ed25519_key
AuthorizedKeysFile /var/lib/agent/authorized_keys
AllowUsers claude
PermitRootLogin no
PasswordAuthentication no
KbdInteractiveAuthentication no