services.autossh.sessions.*.extraArguments

NixOS option

Arguments to be passed to AutoSSH and retransmitted to SSH process. Some meaningful options include -N (don’t run remote command), -D (open SOCKS proxy on local port), -R (forward remote port), -L (forward local port), -v (Enable debug). Check ssh manual for the complete list.

type: strings concatenated with " "
Example
"-N -D4343 bill@socks.example.net"
declared in: nixos/modules/services/networking/autossh.nixView source on NixOS/nixpkgs →