mirror of
https://github.com/nix-community/home-manager.git
synced 2026-01-12 01:59:37 +08:00
ssh: add kexAlgorithms to matchBlocks
This commit adds the option to add kexAlgorithms as an matchBlock option with updated test case.
This commit is contained in:
committed by
Matthieu Coudron
parent
91cdb0e2d5
commit
2d36a6de2f
@@ -15,6 +15,7 @@ Host xyz
|
||||
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
|
||||
KexAlgorithms sntrup761x25519-sha512,sntrup761x25519-sha512@openssh.com,mlkem768x25519-sha256
|
||||
|
||||
Host ordered
|
||||
Port 1
|
||||
|
||||
@@ -34,6 +34,11 @@
|
||||
host.address = "/run/user/1000/gnupg/S.gpg-agent";
|
||||
}
|
||||
];
|
||||
kexAlgorithms = [
|
||||
"sntrup761x25519-sha512"
|
||||
"sntrup761x25519-sha512@openssh.com"
|
||||
"mlkem768x25519-sha256"
|
||||
];
|
||||
dynamicForwards = [ { port = 2839; } ];
|
||||
setEnv = {
|
||||
FOO = "foo12";
|
||||
|
||||
Reference in New Issue
Block a user