[Bug 739495]
+1 here as well. I'm trying to set up a secure Apt archive using ssh to limit access. I'm also making a Debian package to set up access to the archive, so it would be nice to add the Host stanza to a separate file for maintenance reasons. Methods such as using aliases/scripts to aggregate the various config files before execing ssh won't work for this, as apt-get is not going to call an shell-defined alias. Guess I'm gonna have to fall back to my old method of using scripts to rewrite /etc/ssh/ssh_config - which is a horrible way to do things. This is precisely why pretty much every major Linux service uses config.d directories instead of monolithic config files. EXCEPT OPENSSH. This request has now been ignored for 4 years. It would be nice to see some sort of response. -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to openssh in Ubuntu. https://bugs.launchpad.net/bugs/739495 Title: include in .ssh/config To manage notifications about this bug go to: https://bugs.launchpad.net/openssh/+bug/739495/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 739495]
Definitely +1 to this! An alternative (and more generic) approach would be doing this by intercepting .conf file reads (via FUSE?). After thinking a little about this and googling, I've found something that might be a good start: https://code.google.com/p/scriptfs/ @dkived: Maybe you can try this for your scenario and post how it works. I haven't tried it but looks like it can do the trick. -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to openssh in Ubuntu. https://bugs.launchpad.net/bugs/739495 Title: include in .ssh/config To manage notifications about this bug go to: https://bugs.launchpad.net/openssh/+bug/739495/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 739495]
+1 -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to openssh in Ubuntu. https://bugs.launchpad.net/bugs/739495 Title: include in .ssh/config To manage notifications about this bug go to: https://bugs.launchpad.net/openssh/+bug/739495/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 739495]
Created attachment 2274 Include option patch for OpenSSH 6.2 This is really just a modified version of Gavin Beatty's patch, slightly altered so it'll apply cleanly to OpenSSH 6.2 (i.e. yesterdays CVS checkout). -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to openssh in Ubuntu. https://bugs.launchpad.net/bugs/739495 Title: include in .ssh/config To manage notifications about this bug go to: https://bugs.launchpad.net/openssh/+bug/739495/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 739495]
Another, FUSE-based solution (not tested myself): https://github.com/markhellewell/sshconfigfs -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to openssh in Ubuntu. https://bugs.launchpad.net/bugs/739495 Title: include in .ssh/config To manage notifications about this bug go to: https://bugs.launchpad.net/openssh/+bug/739495/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 739495]
While FUSE-based solutions are available, they're hardly portable and not available on most of the platforms listed on http://openssh.com/portable.html. What does it take to convince the developers to include Gavin's patch into mainline? -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to openssh in Ubuntu. https://bugs.launchpad.net/bugs/739495 Title: include in .ssh/config To manage notifications about this bug go to: https://bugs.launchpad.net/openssh/+bug/739495/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 739495]
+1 I needed just this today The usecase is the following: * my employer is maintaining a ssh_config file that registers all machines * I have some settings and hosts of my own How do I usefully integrate those two files? *t -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to openssh in Ubuntu. https://bugs.launchpad.net/bugs/739495 Title: include in .ssh/config To manage notifications about this bug go to: https://bugs.launchpad.net/openssh/+bug/739495/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 739495]
+1 This feature could be very useful. @Tomas Pospisek : For now you can use only do some cheat with a shell script. For example having your configuration file in ~/.ssh/config.d and make that type of alias: alias ssh="cat ~/.ssh/config.d/* > ~/.ssh/config ; ssh" It my way to keep my config file up-to-date. I subscribe to this ticket. (In reply to comment #2) > +1 I needed just this today > > The usecase is the following: > > * my employer is maintaining a ssh_config file that registers all > machines > * I have some settings and hosts of my own > > How do I usefully integrate those two files? > *t -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to openssh in Ubuntu. https://bugs.launchpad.net/bugs/739495 Title: include in .ssh/config To manage notifications about this bug go to: https://bugs.launchpad.net/openssh/+bug/739495/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 739495]
+1 -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to openssh in Ubuntu. https://bugs.launchpad.net/bugs/739495 Title: include in .ssh/config To manage notifications about this bug go to: https://bugs.launchpad.net/openssh/+bug/739495/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 739495]
2009 ? This bug is rather young, I am sure at least 10 years is mandatory to have something as complex as this integrated... There are even patchs attached without even a comment on them. As far as I can tell user interface is clearly not the focus of either OpenSSL or OpenSSH, just take a look at the OpenSSL api if you need convincing. The funny thing is that if security is the concern here this is stupid since users will do things that may open a real security risk instead of relying on a proven built in Include which could just apply the same rules it uses when loading the main ".ssh/config". What is preventing this from getting in ??? This a really helpful feature if you want to work with generated files without destroying you main config file. -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to openssh in Ubuntu. https://bugs.launchpad.net/bugs/739495 Title: include in .ssh/config To manage notifications about this bug go to: https://bugs.launchpad.net/openssh/+bug/739495/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 739495] Re: include in .ssh/config
Launchpad has imported 2 comments from the remote bug at https://bugzilla.mindrot.org/show_bug.cgi?id=1585. If you reply to an imported comment from within Launchpad, your comment will be sent to the remote bug automatically. Read more about Launchpad's inter-bugtracker facilities at https://help.launchpad.net/InterBugTracking. On 2009-04-02T10:29:47+00:00 gavinbeatty wrote: 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. Reply at: https://bugs.launchpad.net/openssh/+bug/739495/comments/0 On 2012-05-21T06:59:52+00:00 Jakob Hilden wrote: +1 Would be a very, very useful feature. And I know a bunch of other devs who also need this. Reply at: https://bugs.launchpad.net/openssh/+bug/739495/comments/4 ** Changed in: openssh Status: Unknown => Confirmed ** Changed in: openssh Importance: Unknown => Wishlist -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to openssh in Ubuntu. https://bugs.launchpad.net/bugs/739495 Title: include in .ssh/config To manage notifications about this bug go to: https://bugs.launchpad.net/openssh/+bug/739495/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 739495] [NEW] include in .ssh/config
Public bug reported: 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. ** Affects: openssh (Ubuntu) Importance: Undecided Status: New ** Tags: wishlist -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to openssh in ubuntu. https://bugs.launchpad.net/bugs/739495 Title: include in .ssh/config -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 739495] Re: include in .ssh/config
** Patch added: "ssh2.diff" https://bugs.launchpad.net/bugs/739495/+attachment/1927290/+files/ssh2.diff -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to openssh in ubuntu. https://bugs.launchpad.net/bugs/739495 Title: include in .ssh/config -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 739495] Re: include in .ssh/config
** Tags added: patch -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to openssh in ubuntu. https://bugs.launchpad.net/bugs/739495 Title: include in .ssh/config -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 739495] Re: include in .ssh/config
It seems like this is a bug that has already been reported to the developers of openSSH. Please consider commenting in the upstream bug (https://bugzilla.mindrot.org/show_bug.cgi?id=1585) and proposing your patch, possibly integrating some of the work in the draft patch that is already included there. Looks like there are some extra changes too, so that might need to be cleaned up. ** Bug watch added: OpenSSH Portable Bugzilla #1585 https://bugzilla.mindrot.org/show_bug.cgi?id=1585 ** Also affects: openssh via https://bugzilla.mindrot.org/show_bug.cgi?id=1585 Importance: Unknown Status: Unknown ** Changed in: openssh (Ubuntu) Status: New => Confirmed ** Changed in: openssh (Ubuntu) Importance: Undecided => Wishlist -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to openssh in ubuntu. https://bugs.launchpad.net/bugs/739495 Title: include in .ssh/config -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 739495] Re: include in .ssh/config
+1 I needed just this today The usecase is the following: * my employer is maintaining a ssh_config file that registers all machines * I have some settings and hosts of my own How do I usefully integrate those two files? *t -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to openssh in Ubuntu. https://bugs.launchpad.net/bugs/739495 Title: include in .ssh/config To manage notifications about this bug go to: https://bugs.launchpad.net/openssh/+bug/739495/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 739495] Re: include in .ssh/config
Would love to see this feature. I'm working with different machines for a variety of customers. This feature would allow me to create a config.d/ and group settings by customer. It would allow me to easily share those settings with colleagues, In the end. -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to openssh in Ubuntu. https://bugs.launchpad.net/bugs/739495 Title: include in .ssh/config To manage notifications about this bug go to: https://bugs.launchpad.net/openssh/+bug/739495/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs