Make ssh parser to parse included config files

This commit is contained in:
Alisson Santos 2020-10-19 15:09:48 +02:00 committed by Mislav Marohnić
parent cee4f853dc
commit dc8698ee46
6 changed files with 181 additions and 55 deletions

2
git/testdata/included.conf vendored Normal file
View file

@ -0,0 +1,2 @@
Host webapp
HostName webapp.example.com

2
git/testdata/ssh_config1.conf vendored Normal file
View file

@ -0,0 +1,2 @@
Host foo bar
HostName example.com

2
git/testdata/ssh_config2.conf vendored Normal file
View file

@ -0,0 +1,2 @@
Host bar baz
hostname %%%h.net%%

1
git/testdata/ssh_config3.conf vendored Normal file
View file

@ -0,0 +1 @@
Include ~/.ssh/included*