Make ssh parser to parse included config files
This commit is contained in:
parent
cee4f853dc
commit
dc8698ee46
6 changed files with 181 additions and 55 deletions
2
git/testdata/included.conf
vendored
Normal file
2
git/testdata/included.conf
vendored
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
Host webapp
|
||||
HostName webapp.example.com
|
||||
2
git/testdata/ssh_config1.conf
vendored
Normal file
2
git/testdata/ssh_config1.conf
vendored
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
Host foo bar
|
||||
HostName example.com
|
||||
2
git/testdata/ssh_config2.conf
vendored
Normal file
2
git/testdata/ssh_config2.conf
vendored
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
Host bar baz
|
||||
hostname %%%h.net%%
|
||||
1
git/testdata/ssh_config3.conf
vendored
Normal file
1
git/testdata/ssh_config3.conf
vendored
Normal file
|
|
@ -0,0 +1 @@
|
|||
Include ~/.ssh/included*
|
||||
Loading…
Add table
Add a link
Reference in a new issue