forked from tangled.org/core
Monorepo for Tangled — https://tangled.org

nix/modules/knot: block openssh password authentication

Signed-off-by: Seongmin Lee <git@boltless.me>

Changed files
+2
nix
modules
+2
nix/modules/knot.nix
···
Match User ${cfg.gitUser}
AuthorizedKeysCommand /etc/ssh/keyfetch_wrapper
AuthorizedKeysCommandUser nobody
'';
};
···
Match User ${cfg.gitUser}
AuthorizedKeysCommand /etc/ssh/keyfetch_wrapper
AuthorizedKeysCommandUser nobody
+
ChallengeResponseAuthentication no
+
PasswordAuthentication no
'';
};