From de2758e9a8dafa72acbab307df8f5a6dbae0ccb9 Mon Sep 17 00:00:00 2001 From: Alex Stan <90788596+Ultra980@users.noreply.github.com> Date: Sun, 24 Sep 2023 22:00:50 +0300 Subject: [PATCH] ssh Signed-off-by: Alex Stan <90788596+Ultra980@users.noreply.github.com> --- hosts/titan/configuration.nix | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/hosts/titan/configuration.nix b/hosts/titan/configuration.nix index 90f491a..2a57a23 100644 --- a/hosts/titan/configuration.nix +++ b/hosts/titan/configuration.nix @@ -197,10 +197,10 @@ in { # services.openssh.enable = true; # Open ports in the firewall. - networking.firewall.allowedTCPPorts = [ 21 20 ]; - networking.firewall.allowedUDPPorts = [ 21 20 ]; + # networking.firewall.allowedTCPPorts = [ 21 20 22 ]; + # networking.firewall.allowedUDPPorts = [ 21 20 22 ]; # Or disable the firewall altogether. - # networking.firewall.enable = false; + networking.firewall.enable = false; # This value determines the NixOS release from which the default # settings for stateful data, like file locations and database versions @@ -314,6 +314,12 @@ in { }; snowflake-proxy.enable = true; + openssh = { + enable = true; + settings = { + PasswordAuthentication = true; + }; + }; };