summaryrefslogtreecommitdiffstats
path: root/tests/configs/match-exec-canonical
diff options
context:
space:
mode:
Diffstat (limited to 'tests/configs/match-exec-canonical')
-rw-r--r--tests/configs/match-exec-canonical10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/configs/match-exec-canonical b/tests/configs/match-exec-canonical
new file mode 100644
index 0000000..794ee9d
--- /dev/null
+++ b/tests/configs/match-exec-canonical
@@ -0,0 +1,10 @@
+CanonicalDomains paramiko.org
+CanonicalizeHostname always
+
+# This will match in the first, uncanonicalized pass
+Match !canonical exec uncanonicalized
+ User defenseless
+
+# And this will match the second time
+Match canonical exec canonicalized
+ Port 8007