diff --git a/home-manager/sajenim/features/cli/default.nix b/home-manager/sajenim/features/cli/default.nix index cca3c8d..f3af416 100644 --- a/home-manager/sajenim/features/cli/default.nix +++ b/home-manager/sajenim/features/cli/default.nix @@ -15,6 +15,7 @@ matchBlocks."viridian" = { hostname = "192.168.1.102"; identityFile = "/home/sajenim/.ssh/sajenim_sk"; + port = 62841; }; }; } diff --git a/nixos/common/global/ssh.nix b/nixos/common/global/ssh.nix index eabf9f3..b366b96 100644 --- a/nixos/common/global/ssh.nix +++ b/nixos/common/global/ssh.nix @@ -6,7 +6,9 @@ settings = { PermitRootLogin = "no"; PasswordAuthentication = false; + AllowUsers = [ "sajenim" ]; }; + ports = [ 62841 ]; openFirewall = true; }; }