forked from M-Labs/it-infra
aux: remove ssh reverse proxy
This commit is contained in:
parent
4ca9ef4e73
commit
afcd0f8c0a
|
@ -146,19 +146,6 @@ in
|
||||||
shell = pkgs.fish;
|
shell = pkgs.fish;
|
||||||
};
|
};
|
||||||
|
|
||||||
systemd.services.ssh-reverse-proxy = {
|
|
||||||
description = "SSH Reverse Proxy";
|
|
||||||
wantedBy = [ "multi-user.target" ];
|
|
||||||
after = [ "network.target" ];
|
|
||||||
serviceConfig = {
|
|
||||||
Restart = "always";
|
|
||||||
RestartSec = "1min";
|
|
||||||
User = "backupdl";
|
|
||||||
Group = "users";
|
|
||||||
ExecStart = "${pkgs.openssh}/bin/ssh -R 42.200.147.171:3940:localhost:22 -o ServerAliveInterval=60 -o ServerAliveCountMax=1 -o ExitOnForwardFailure=yes -N -T nixbld.m-labs.hk";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
documentation.enable = false;
|
documentation.enable = false;
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
wget vim git usbutils pciutils file lm_sensors acpi
|
wget vim git usbutils pciutils file lm_sensors acpi
|
||||||
|
|
Loading…
Reference in New Issue