Bug 1275 - Config parsing (parse_time) in Host: context acts globally
Summary: Config parsing (parse_time) in Host: context acts globally
Status: CLOSED FIXED
Alias: None
Product: Portable OpenSSH
Classification: Unclassified
Component: ssh (show other bugs)
Version: 4.5p1
Hardware: Other Linux
: P2 normal
Assignee: Assigned to nobody
URL:
Keywords:
Depends on:
Blocks: V_4_6
  Show dependency treegraph
 
Reported: 2007-01-18 01:15 AEDT by Mario Lorenz
Modified: 2008-04-04 09:58 AEDT (History)
0 users

See Also:


Attachments
Proposed patch for parse_time handling (515 bytes, patch)
2007-01-18 01:18 AEDT, Mario Lorenz
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Mario Lorenz 2007-01-18 01:15:20 AEDT
Enabling options like ServerAliveInterval for a specific host
does not work:

Host example.com
   ServerAliveInterval 30

should enable the keepalive *only* for example.com, when in fact
does do that globally (for all hosts), even a later
Host *
   ServerAliveInterval 0
will not help.


Reason is that at the parse_time label, activep is not honored.
Comment 1 Mario Lorenz 2007-01-18 01:18:57 AEDT
Created attachment 1225 [details]
Proposed patch for parse_time handling
Comment 2 Darren Tucker 2007-01-18 09:33:39 AEDT
Seems reasonable.
Comment 3 Darren Tucker 2007-01-18 10:26:03 AEDT
Applied, thanks.  It will be in 4.6.
Comment 4 Damien Miller 2008-04-04 09:58:06 AEDT
Close resolved bugs after release.