From 381c862e6fbc06c36441bb6f965294cb73755755 Mon Sep 17 00:00:00 2001 From: Kabbone Date: Sat, 21 Jan 2023 09:14:05 +0100 Subject: [PATCH] hosts: adjust ssh settings --- hosts/configuration_server.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/hosts/configuration_server.nix b/hosts/configuration_server.nix index 07d02b5..075751a 100644 --- a/hosts/configuration_server.nix +++ b/hosts/configuration_server.nix @@ -93,8 +93,10 @@ services = { openssh = { # SSH: secure shell (remote connection to shell of server) enable = true; # local: $ ssh @ - passwordAuthentication = false; - permitRootLogin = "no"; + settings = { + passwordAuthentication = false; + permitRootLogin = "no"; + }; ports = [ 2220 ]; openFirewall = true; };