| Summary: | User override in Host not respected | ||
|---|---|---|---|
| Product: | Portable OpenSSH | Reporter: | Matt <mattfleming.au> |
| Component: | ssh | Assignee: | Assigned to nobody <unassigned-bugs> |
| Status: | CLOSED WONTFIX | ||
| Severity: | minor | CC: | djm, dtucker |
| Priority: | P5 | ||
| Version: | 8.6p1 | ||
| Hardware: | amd64 | ||
| OS: | Mac OS X | ||
|
Description
Matt
2022-06-29 13:00:26 AEST
This is how it's always worked: first match for a specifc keyword wins. Quoting ssh_config(5):
For each parameter, the first obtained value will be used. The configu-
ration files contain sections separated by Host specifications, and that
section is only applied for hosts that match one of the patterns given in
the specification.
If you want to override User, put it at the top of the file. If you want to provide a default User, put it at the bottom of the file.
OpenSSH 9.3 has been released. Close resolved bugs |