mirror of
https://github.com/nix-community/home-manager
synced 2024-12-22 11:03:13 +00:00
1bdbebc3f8
* ssh: add generic Match support for matchBlocks Introduce conservative support for actual `Match` blocks in ssh config. "Conservative" means this PR doesn'tt try to process the `match` expression and simply uses it as a string provided by the user. If set, `match` has precedence over `host` meaning if both are set, `match` is used and `host` is ignored. * Add news entry
19 lines
319 B
Text
19 lines
319 B
Text
Host * !github.com
|
|
Port 516
|
|
Host abc
|
|
Port 2222
|
|
Match host xyz canonical
|
|
Port 2223
|
|
|
|
Host *
|
|
ForwardAgent no
|
|
Compression no
|
|
ServerAliveInterval 0
|
|
ServerAliveCountMax 3
|
|
HashKnownHosts no
|
|
UserKnownHostsFile ~/.ssh/known_hosts
|
|
ControlMaster no
|
|
ControlPath ~/.ssh/master-%r@%n:%p
|
|
ControlPersist no
|
|
|
|
|