From 3afc61e5f5da84daac8a27fd3c51dfbe8b7405c1 Mon Sep 17 00:00:00 2001 From: Eric Renfro Date: Sat, 31 Jul 2021 09:04:00 -0400 Subject: [PATCH] Moved ControlMaster config around to exclude mega NAS specifically --- .ssh/config##template.default | 8 +++++--- .ssh/controlmasters/.do-not-delete | 0 2 files changed, 5 insertions(+), 3 deletions(-) create mode 100644 .ssh/controlmasters/.do-not-delete diff --git a/.ssh/config##template.default b/.ssh/config##template.default index 9004050..b3229a5 100644 --- a/.ssh/config##template.default +++ b/.ssh/config##template.default @@ -1,5 +1,5 @@ -ControlMaster auto -ControlPath ~/.ssh/controlmasters/%r@%h:%p +#ControlMaster auto +#ControlPath ~/.ssh/controlmasters/%r@%h:%p CanonicalizeHostname yes CanonicalDomains home.ld linux-help.org CanonicalizeMaxDots 1 @@ -180,7 +180,9 @@ Host *.home.ld Host worktop.home.ld User eric -Host * +Host * !mega.home.ld + ControlMaster auto + ControlPath ~/.ssh/controlmasters/%r@%h:%p #User psi-jack KeepAlive yes {% if yadm.os == "Darwin" %} diff --git a/.ssh/controlmasters/.do-not-delete b/.ssh/controlmasters/.do-not-delete new file mode 100644 index 0000000..e69de29