# ssh login # # Login is with keys only, for root and the user claude. Neither has a key # until root adds one (README.md). The first value wins, and this file sorts # before Fedora's 50-redhat.conf. # HostKey lives on /var (agent-boot makes it), so it stays the same across # reboots. HostKey /var/lib/agent/ssh_host_ed25519_key PasswordAuthentication no KbdInteractiveAuthentication no # AuthorizedKeysFile of the user claude is owned by root, so Claude can't add # keys. Match User claude AuthorizedKeysFile /var/lib/agent/authorized_keys # AuthorizedKeysFile of root is on /var, because its home is wiped at every # boot (/etc/fstab). It also reads the default file, which the # ssh.authorized_keys.root credential fills, such as for mkosi ssh. Match User root AuthorizedKeysFile /var/lib/agent/root_authorized_keys .ssh/authorized_keys