Bug 2789 - Manpage is not clear on how to use Include keyword
Summary: Manpage is not clear on how to use Include keyword
Status: CLOSED INVALID
Alias: None
Product: Portable OpenSSH
Classification: Unclassified
Component: ssh (show other bugs)
Version: 7.5p1
Hardware: All Linux
: P5 trivial
Assignee: Assigned to nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-10-04 23:19 AEDT by Stefan Midjich
Modified: 2018-04-06 12:26 AEST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan Midjich 2017-10-04 23:19:33 AEDT
I noticed by accident that I could not use the Include keyword in the middle of my ssh_config file, between other Host blocks. (Not inside a Host/Match block).

I had to move it up to the start of my file, before all other Host blocks, before it worked.
Comment 1 Stefan Midjich 2017-10-04 23:24:23 AEDT
This can likely be closed because I discovered later, too late, that Host/Match blocks are terminated by the next Host/Match block.

So when I tried to put an Include statement in the middle of my file it was not "standalone", it was in fact inside the last Host block.

Moving it up above Host blocks made it "standalone". 

This is not clear unless you read the Host/Match block manpage sections.
Comment 2 Damien Miller 2018-04-06 12:26:46 AEST
Close all resolved bugs after release of OpenSSH 7.7.