summaryrefslogtreecommitdiff
path: root/modules/services/openssh.nix
diff options
context:
space:
mode:
authorFuwn <[email protected]>2024-09-03 18:02:42 -0700
committerFuwn <[email protected]>2024-09-03 18:02:42 -0700
commita59aebb4834262c549a4260d0164ae1c9f895384 (patch)
treeba57cc8bb6df045829165fc2833f400fec95969e /modules/services/openssh.nix
parentharden ssh (diff)
downloadnixos-config-a59aebb4834262c549a4260d0164ae1c9f895384.tar.xz
nixos-config-a59aebb4834262c549a4260d0164ae1c9f895384.zip
tailscale
Diffstat (limited to 'modules/services/openssh.nix')
-rw-r--r--modules/services/openssh.nix7
1 files changed, 2 insertions, 5 deletions
diff --git a/modules/services/openssh.nix b/modules/services/openssh.nix
index b16ca8a..8bab2a4 100644
--- a/modules/services/openssh.nix
+++ b/modules/services/openssh.nix
@@ -1,13 +1,10 @@
{
services.openssh = {
enable = true;
- ports = [ 2222 ];
- openFirewall = true;
+ ports = [ 22 ];
+ openFirewall = false;
settings = {
- PermitRootLogin = "no";
- MaxAuthTries = 3;
-
KexAlgorithms = [
"curve25519-sha256"