From 0254860ad9904f55af60b7e6cb02ddd88e2a9a4e Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Thu, 11 Jun 2020 13:24:31 +0200 Subject: ssh: add initial settings --- user/settings/ssh.nix | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 user/settings/ssh.nix (limited to 'user/settings') diff --git a/user/settings/ssh.nix b/user/settings/ssh.nix new file mode 100644 index 00000000..0c8300eb --- /dev/null +++ b/user/settings/ssh.nix @@ -0,0 +1,12 @@ +{ config, lib, pkgs, ... }: + +{ + programs.ssh = { + enable = true; + compression = true; + controlMaster = "auto"; + controlPersist = "10m"; + hashKnownHosts = true; + serverAliveInterval = 15; + }; +} -- cgit 1.4.1