Boris Aranovich cbe97ac1a1 Refine reading ssh_config (#3146)
https://www.freebsd.org/cgi/man.cgi?query=ssh_config&sektion=5
1. It is possible to add multiple whitespace characters between the keyword (i.e. Host) and the argument(s).
2. It is allowed to have a single = and whitespace between the keyword and the argument(s).
3. It is possible to add multiple host names under a single Host directive by spacing the names apart.

1. and 3. are actual conventions that we use in our team, and I couldn't get auto-complete working for fish without this modification.

Modification explained:
a. The space between Host(?:name)? and the \w.* was replaced by (?:\s+|\s*=\s*) to match any sequence of whitespace characters, or optional whitespaces with a single =, per spec.
b. Result of first replacement is piped through another string replace to switch duplicate whitespace characters to a single space, and then piped to be split by that space. This allows specifying several aliases or host names in a single Host/Hostname definition, also per spec.
2016-06-15 17:54:40 +02:00
..
2010-09-18 10:18:26 +08:00
2013-07-18 21:26:32 +05:30
2014-01-20 21:28:54 +04:00
2015-09-09 21:52:18 +02:00
2016-05-23 19:59:02 +02:00
2015-09-23 13:28:32 +02:00
2016-05-14 20:38:32 -07:00
2016-02-03 23:47:46 +01:00
2015-01-17 15:36:30 -08:00
2016-02-10 20:33:43 +01:00
2016-04-26 15:21:15 +02:00
2016-02-12 23:53:17 +01:00
2015-08-08 11:22:44 -07:00
2015-12-17 15:25:13 +01:00
2015-11-14 13:15:30 +01:00
2015-08-30 18:42:35 +02:00
2016-02-03 23:23:04 +01:00
2016-02-28 12:12:13 +01:00
2015-09-09 20:55:04 +02:00