Moved ControlMaster config around to exclude mega NAS specifically

This commit is contained in:
Eric Renfro 2021-07-31 09:04:00 -04:00
parent ef0b7bc4b0
commit 5bb312f96e
2 changed files with 5 additions and 3 deletions

View file

@ -1,5 +1,5 @@
ControlMaster auto #ControlMaster auto
ControlPath ~/.ssh/controlmasters/%r@%h:%p #ControlPath ~/.ssh/controlmasters/%r@%h:%p
CanonicalizeHostname yes CanonicalizeHostname yes
CanonicalDomains home.ld linux-help.org CanonicalDomains home.ld linux-help.org
CanonicalizeMaxDots 1 CanonicalizeMaxDots 1
@ -180,7 +180,9 @@ Host *.home.ld
Host worktop.home.ld Host worktop.home.ld
User eric User eric
Host * Host * !mega.home.ld
ControlMaster auto
ControlPath ~/.ssh/controlmasters/%r@%h:%p
#User psi-jack #User psi-jack
KeepAlive yes KeepAlive yes
{% if yadm.os == "Darwin" %} {% if yadm.os == "Darwin" %}

View file