Merge pull request #263131 from Ma27/sshd-test-networkd

nixos/tests/openssh: use dashes for hostnames

authored by

Robert Hensing and committed by
GitHub
3fbda645 d0d6219c

+7 -7
+7 -7
nixos/tests/openssh.nix
··· 22 ]; 23 }; 24 25 - server_lazy = 26 { ... }: 27 28 { ··· 34 ]; 35 }; 36 37 - server_localhost_only = 38 { ... }: 39 40 { ··· 43 }; 44 }; 45 46 - server_localhost_only_lazy = 47 { ... }: 48 49 { ··· 52 }; 53 }; 54 55 - server_match_rule = 56 { ... }: 57 58 { ··· 119 ) 120 121 client.succeed( 122 - "ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no server_lazy 'echo hello world' >&2", 123 timeout=30 124 ) 125 client.succeed( 126 - "ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no server_lazy 'ulimit -l' | grep 1024", 127 timeout=30 128 ) 129 ··· 137 timeout=30 138 ) 139 client.succeed( 140 - "ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -i privkey.snakeoil server_lazy true", 141 timeout=30 142 ) 143
··· 22 ]; 23 }; 24 25 + server-lazy = 26 { ... }: 27 28 { ··· 34 ]; 35 }; 36 37 + server-localhost-only = 38 { ... }: 39 40 { ··· 43 }; 44 }; 45 46 + server-localhost-only-lazy = 47 { ... }: 48 49 { ··· 52 }; 53 }; 54 55 + server-match-rule = 56 { ... }: 57 58 { ··· 119 ) 120 121 client.succeed( 122 + "ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no server-lazy 'echo hello world' >&2", 123 timeout=30 124 ) 125 client.succeed( 126 + "ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no server-lazy 'ulimit -l' | grep 1024", 127 timeout=30 128 ) 129 ··· 137 timeout=30 138 ) 139 client.succeed( 140 + "ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -i privkey.snakeoil server-lazy true", 141 timeout=30 142 ) 143