Bug 1275

Summary: Config parsing (parse_time) in Host: context acts globally
Product: Portable OpenSSH Reporter: Mario Lorenz <mario.lorenz>
Component: sshAssignee: Assigned to nobody <unassigned-bugs>
Status: CLOSED FIXED    
Severity: normal    
Priority: P2    
Version: 4.5p1   
Hardware: Other   
OS: Linux   
Bug Depends on:    
Bug Blocks: 1274    
Attachments:
Description Flags
Proposed patch for parse_time handling none

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.