From cf2b9301c0c31f6c1df14241b057f6dc52867e85 Mon Sep 17 00:00:00 2001 From: Mariano Cano Date: Fri, 25 Oct 2019 12:23:52 -0700 Subject: [PATCH] Change default user duration to 16h. --- authority/config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/authority/config.go b/authority/config.go index 30343b5f..5ec83477 100644 --- a/authority/config.go +++ b/authority/config.go @@ -38,7 +38,7 @@ var ( DisableRenewal: &defaultDisableRenewal, MinUserSSHDur: &provisioner.Duration{Duration: 5 * time.Minute}, // User SSH certs MaxUserSSHDur: &provisioner.Duration{Duration: 24 * time.Hour}, - DefaultUserSSHDur: &provisioner.Duration{Duration: 4 * time.Hour}, + DefaultUserSSHDur: &provisioner.Duration{Duration: 16 * time.Hour}, MinHostSSHDur: &provisioner.Duration{Duration: 5 * time.Minute}, // Host SSH certs MaxHostSSHDur: &provisioner.Duration{Duration: 30 * 24 * time.Hour}, DefaultHostSSHDur: &provisioner.Duration{Duration: 30 * 24 * time.Hour},