From 2c5a7a46cfe109f6b46ba1b69b7159b546be6e76 Mon Sep 17 00:00:00 2001 From: Daniel Langbein Date: Sun, 17 Sep 2023 16:46:46 +0200 Subject: [PATCH] ssh config --- modules/ssh-server.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/modules/ssh-server.nix b/modules/ssh-server.nix index 0975324..51258a4 100644 --- a/modules/ssh-server.nix +++ b/modules/ssh-server.nix @@ -7,8 +7,6 @@ #ports = [ 22 ]; # Use authorized keys only. settings.PasswordAuthentication = false; - # Forbid/Limit root login through SSH. - #settings.PermitRootLogin = "no"; settings.PermitRootLogin = "prohibit-password"; # Enabling this is required for commands such as sftp and sshfs. allowSFTP = false;