openssh: force pubkey auth

This commit is contained in:
notohh 2023-06-23 22:27:00 -04:00
parent 680ab1a6f9
commit 593f02b740
Signed by: notohh
GPG key ID: BD47506D475EE86D

View file

@ -4,7 +4,7 @@
settings = {
KbdInteractiveAuthentication = false;
PasswordAuthentication = lib.mkForce false;
PubkeyAuthentication = true;
PubkeyAuthentication = lib.mkForce true;
PermitRootLogin = lib.mkForce "no";
StreamLocalBindUnlink = "yes";
GatewayPorts = "clientspecified";