Don't enable SSH server by default, add TD-required SSH security options

This commit is contained in:
Rei Meliesie 2026-09-08 12:20:05 +02:00
commit 2a3d9e9be8
2 changed files with 4 additions and 1 deletions

View file

@ -221,7 +221,6 @@
fwupd.enable = true; fwupd.enable = true;
openssh = { openssh = {
enable = true;
settings = { settings = {
PasswordAuthentication = false; PasswordAuthentication = false;
KbdInteractiveAuthentication = false; KbdInteractiveAuthentication = false;

View file

@ -175,6 +175,10 @@
ssh.extraConfig = '' ssh.extraConfig = ''
Host git.service.d11n.nl Host git.service.d11n.nl
Port 258 Port 258
# TODO: Check if we can specify this in an actual config item.
VerifyHostKeyDNS yes
ForwardAgent no
''; '';
direnv = { direnv = {