1 { pkgs, lib, config, machines, ... }:
3 systemd.services.ssh-mermet-reverse = {
4 after = [ "network-online.target" ];
5 wantedBy = [ "multi-user.target" ];
8 ExecStart = ''${pkgs.openssh}/bin/ssh -v -g -N -T \
9 -o ServerAliveInterval=10 \
10 -o ExitOnForwardFailure=yes \
11 -R *:10022:localhost:22 \
12 ${machines.mermet.extraArgs.ipv4}