summaryrefslogtreecommitdiff
path: root/test/configs
diff options
context:
space:
mode:
authorKevin Menard <kevin@nirvdrum.com>2014-05-01 21:05:37 -0400
committerKevin Menard <kevin@nirvdrum.com>2014-05-01 21:05:37 -0400
commita2d7bce1bbf4984dcea41714f65fbf12f8ea5c9c (patch)
tree15b65f591e8fd1b93c5d04e828c772429b325c69 /test/configs
parentdc6704d050550c3fe63f8410e194781c47fabea2 (diff)
downloadnet-ssh-a2d7bce1bbf4984dcea41714f65fbf12f8ea5c9c.tar.gz
Support negative patterns in host lookup from the SSH config file.
Fixes #150: ssh_config parsing doesn't support negated host patterns
Diffstat (limited to 'test/configs')
-rw-r--r--test/configs/negative_match6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/configs/negative_match b/test/configs/negative_match
new file mode 100644
index 0000000..7a2e5ec
--- /dev/null
+++ b/test/configs/negative_match
@@ -0,0 +1,6 @@
+Host test.* !test.host
+ Port 1234
+ Compression no
+
+Host test.host
+ Port 9876 \ No newline at end of file