SSH config: Lists
Some SSH config options support multiple values.
Some config options can be repeated resulting in multiple blocks.
---
list_config_test_case:
Config:
LocalForward:
- 8080 127.0.0.1:80
- 8443 127.0.0.1:443
Hosts:
lf_test_1: 192.168.0.109
Will produce this config:
# list_config_test_case
Host lf_test_1
User ben
IdentityFile ~/.ssh/id_rsa
LocalForward 8080 127.0.0.1:80
LocalForward 8443 127.0.0.1:443
HostName 192.168.0.109