summary refs log tree commit diff stats
path: root/user/settings/ssh.nix
blob: f5073c8dcca62321524345fda34e43a7a4fe4791 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{ config
, lib
, pkgs
, ...
}: {
  programs.ssh = {
    enable = true;
    compression = true;
    controlMaster = "auto";
    controlPersist = "10m";
    hashKnownHosts = true;
    serverAliveInterval = 15;
    extraConfig = ''
      VerifyHostKeyDNS ask
    '';
    includes = [
      "local.ssh_config"
    ];
  };
}