From 593f02b7401b099961a7a15d324464c806d7af30 Mon Sep 17 00:00:00 2001 From: notohh Date: Fri, 23 Jun 2023 22:27:00 -0400 Subject: [PATCH] openssh: force pubkey auth --- modules/openssh.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/openssh.nix b/modules/openssh.nix index 0ef700e..749d2ec 100644 --- a/modules/openssh.nix +++ b/modules/openssh.nix @@ -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";