include in .ssh/config
Bug #739495 reported by
Andrei Darashenka
This bug affects 24 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
portable OpenSSH |
Confirmed
|
Wishlist
|
|||
openssh (Ubuntu) |
Fix Released
|
Wishlist
|
Unassigned |
Bug Description
Could you implement sub-config including feature, please?
It's very useful to split a user config file into many pieces if you have a many hosts.
tags: | added: patch |
Changed in openssh: | |
importance: | Unknown → Wishlist |
status: | Unknown → Confirmed |
To post a comment you must log in.
Created attachment 1623
Attached is a patch for an almost complete implementation. All that remains is the "file not readable is not an error" logic.
Adding the following to your config file should read the named file in place.
Include "~/.ssh/ config. customer1"
If the file is not found, only a warning should be given, like so:
warning("%s line %d: Include file \"%s\" not found - skipping.", ...);
~/ and ~username expansion should be available.
Attached is a patch for an almost complete implementation. All that remains is the "file not readable is not an error" logic.