modules/darwin/common: only allow ssh_host_ed25519_key

81dd4e0557
we do the same for nixos
This commit is contained in:
zowoq 2024-01-25 12:42:48 +10:00
parent 881f8334b5
commit ce979d7349

View file

@ -60,6 +60,7 @@
# srvos
environment.etc."ssh/sshd_config.d/darwin.conf".text = ''
HostKey /etc/ssh/ssh_host_ed25519_key
KbdInteractiveAuthentication no
PasswordAuthentication no
StrictModes no