Is there a way for one SSH config file to include another one?

Posted by Joe Casadonte on Super User See other posts from Super User or by Joe Casadonte
Published on 2011-02-18T17:45:01Z Indexed on 2012/11/28 11:06 UTC
Read the original article Hit count: 199

Filed under:
|

In case it matters:

  • OS: Ubuntu 10.04
  • SSH: OpenSSH_5.3p1 Debian-3ubuntu5

I'd like one SSH config file to include another one. The use case would be to define whatever I want in my default .ssh/config file and then pre-pend a couple of extra things in a separate file (e.g. ~/.ssh/foo.config). I want the second file to incorporate the first one, though, so I don't have to duplicate everything in the first one. Is that doable? Thanks!

© Super User or respective owner

Related posts about ssh

Related posts about openssh