all repos — nixfiles @ 62e1af7c507917673ed5299478c27d341089a544

System and user configuration, managed by nix and home-manager

user/settings/ssh.nix (view raw)

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"
    ];
  };
}