diff options
| author | andromeda <andromeda@lenovo> | 2026-01-01 07:55:05 +0100 |
|---|---|---|
| committer | andromeda <andromeda@lenovo> | 2026-01-01 07:55:05 +0100 |
| commit | e8abf3ab16f1e16e519d44754cfbe342a8c012c7 (patch) | |
| tree | d5c1737df66018d13411c31488e4343d65f78dfb | |
| parent | 8ad0603114d3d66ad95dbf10d3105952e85cf34d (diff) | |
reconfig ssh a bit?
| -rw-r--r-- | machines/109-199-104-83/configuration.nix | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/machines/109-199-104-83/configuration.nix b/machines/109-199-104-83/configuration.nix index af6c9bb..58215fe 100644 --- a/machines/109-199-104-83/configuration.nix +++ b/machines/109-199-104-83/configuration.nix @@ -60,19 +60,12 @@ services.openssh = { enable = true; allowSFTP = false; - ports = [5522]; + ports = [22 5522]; settings = { PermitRootLogin = "no"; PasswordAuthentication = false; KbdInteractiveAuthentication = true; }; - extraConfig = '' - AllowTcpForwarding no - AllowAgentForwarding no - MaxAuthTries 3 - MaxSessions 4 - TCPKeepAlive no - ''; }; environment.persistence."/nix/persist" = { enable = true; |
