From fe7f6b62a0e2ea3368c7f98a0ed82cb463e8b63a Mon Sep 17 00:00:00 2001 From: nyanloutre Date: Mon, 25 Nov 2024 18:19:05 +0100 Subject: [PATCH] disable useless autossh --- systems/LoutreOS/configuration.nix | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/systems/LoutreOS/configuration.nix b/systems/LoutreOS/configuration.nix index 330a373..7d4501e 100644 --- a/systems/LoutreOS/configuration.nix +++ b/systems/LoutreOS/configuration.nix @@ -55,19 +55,6 @@ }; }; - # Options explanations - # -N disable shell - # -R 0.0.0.0:2222:127.0.0.1:22 redirect SSH port on VPS server on port 2222 - # -R 127.0.0.1:2525:127.0.0.1:25 redirect SMTP port on VPS port 2525 - services.autossh.sessions = [ - { - extraArguments = "-N -R 0.0.0.0:2222:127.0.0.1:22 loutre@vps772619.ovh.net"; - monitoringPort = 20000; - name = "backup-ssh-reverse"; - user = "autossh"; - } - ]; - virtualisation.podman.enable = true; security.sudo.wheelNeedsPassword = false;