mirror of
https://github.com/nix-community/home-manager
synced 2024-08-21 19:46:30 +02:00
* 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
20 lines
319 B
Plaintext
20 lines
319 B
Plaintext
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
|
|
|
|
|