Fix Bug#33364
* lisp/net/tramp.el (tramp-parse-sconfig-group): Support also "Host host1 host2 ..." syntax. (Bug#33364)
This commit is contained in:
parent
acee0a8f20
commit
3287a7c048
1 changed files with 3 additions and 1 deletions
|
@ -2739,7 +2739,9 @@ User is always nil."
|
|||
"Return a (user host) tuple allowed to access.
|
||||
User is always nil."
|
||||
(tramp-parse-group
|
||||
(concat "^[ \t]*Host[ \t]+" "\\(" tramp-host-regexp "\\)") 1 ","))
|
||||
(concat "\\(?:^[ \t]*Host\\)" "\\|" "\\(?:^.+\\)"
|
||||
"\\|" "\\(" tramp-host-regexp "\\)")
|
||||
1 "[ \t]+"))
|
||||
|
||||
;; Generic function.
|
||||
(defun tramp-parse-shostkeys-sknownhosts (dirname regexp)
|
||||
|
|
Loading…
Add table
Reference in a new issue