MyNixOS website logo
option

services.autossh-ng.sessions

Set of SSH sessions to start as systemd services. Each service is named 'autossh-ng-{session.name}'.

Declarations
Type
attribute set of (submodule)
Default
{ }
Example
{
  socket-peer = {
    destination = "[email protected]";
    extraArguments = "-L2222:localhost:22 -i \${config.age.secrets.privatekey.path}";
    user = "bill";
  };
}