diff options
author | Kaiden Fey <kookie@spacekookie.de> | 2020-09-21 14:12:32 +0200 |
---|---|---|
committer | Katharina Fey <kookie@spacekookie.de> | 2020-09-21 14:12:32 +0200 |
commit | f80843dd45d7acd563d0a5b014cec3a2ea686fc2 (patch) | |
tree | 87189d873d6f932d85f9c1a480462b37d96cd6a5 /home-manager/tests/modules/programs/ssh | |
parent | e0800985dab8f8ebb4cebdfd7e361fd1fafdb2a7 (diff) | |
parent | 9b1b55ba0264a55add4b7b4e022bdc2832b531f6 (diff) |
Merge commit '9b1b55ba0264a55add4b7b4e022bdc2832b531f6'
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"; |