diff options
Diffstat (limited to 'home-manager/tests/modules/programs/ssh')
4 files changed, 10 insertions, 0 deletions
diff --git a/home-manager/tests/modules/programs/ssh/default-config-expected.conf b/home-manager/tests/modules/programs/ssh/default-config-expected.conf index 55748ea6c82..6885392b26c 100644 --- a/home-manager/tests/modules/programs/ssh/default-config-expected.conf +++ b/home-manager/tests/modules/programs/ssh/default-config-expected.conf @@ -6,6 +6,7 @@ Host * ForwardAgent no Compression no ServerAliveInterval 0 + ServerAliveCountMax 3 HashKnownHosts no UserKnownHostsFile ~/.ssh/known_hosts ControlMaster no diff --git a/home-manager/tests/modules/programs/ssh/forwards-dynamic-valid-bind-no-asserts-expected.conf b/home-manager/tests/modules/programs/ssh/forwards-dynamic-valid-bind-no-asserts-expected.conf index 5213d282c28..02268e8cb8b 100644 --- a/home-manager/tests/modules/programs/ssh/forwards-dynamic-valid-bind-no-asserts-expected.conf +++ b/home-manager/tests/modules/programs/ssh/forwards-dynamic-valid-bind-no-asserts-expected.conf @@ -10,6 +10,7 @@ Host * ForwardAgent no Compression no ServerAliveInterval 0 + ServerAliveCountMax 3 HashKnownHosts no UserKnownHostsFile ~/.ssh/known_hosts ControlMaster no diff --git a/home-manager/tests/modules/programs/ssh/match-blocks-attrs-expected.conf b/home-manager/tests/modules/programs/ssh/match-blocks-attrs-expected.conf index f0d768375f0..e2c3290153d 100644 --- a/home-manager/tests/modules/programs/ssh/match-blocks-attrs-expected.conf +++ b/home-manager/tests/modules/programs/ssh/match-blocks-attrs-expected.conf @@ -10,16 +10,21 @@ Host abc Host xyz ServerAliveInterval 60 + ServerAliveCountMax 10 IdentityFile file LocalForward [localhost]:8080 [10.0.0.1]:80 RemoteForward [localhost]:8081 [10.0.0.2]:80 RemoteForward /run/user/1000/gnupg/S.gpg-agent.extra /run/user/1000/gnupg/S.gpg-agent DynamicForward [localhost]:2839 +Host ordered + Port 1 + Host * ForwardAgent no Compression no ServerAliveInterval 0 + ServerAliveCountMax 3 HashKnownHosts no UserKnownHostsFile ~/.ssh/known_hosts ControlMaster no diff --git a/home-manager/tests/modules/programs/ssh/match-blocks-attrs.nix b/home-manager/tests/modules/programs/ssh/match-blocks-attrs.nix index a84a703e89d..eaa20c6e32d 100644 --- a/home-manager/tests/modules/programs/ssh/match-blocks-attrs.nix +++ b/home-manager/tests/modules/programs/ssh/match-blocks-attrs.nix @@ -12,9 +12,12 @@ with lib; proxyJump = "jump-host"; }; + ordered = hm.dag.entryAfter [ "xyz" ] { port = 1; }; + xyz = { identityFile = "file"; serverAliveInterval = 60; + serverAliveCountMax = 10; localForwards = [{ bind.port = 8080; host.address = "10.0.0.1"; |