Skip to content

Add support for top-level sshconfig include

Compare
Choose a tag to compare
@masasam masasam released this 26 Jan 07:20
· 26 commits to master since this release

Enhancement

Add support for top-level sshconfig include

~/.ssh/config

Include conf.d/work
Include conf.d/personal

~/.ssh/conf.d/work

Host instance
	HostName ************
	User ************

Host archtest
	HostName ************
	User ************

Host debiantest
	HostName ************
	User ************

Host centostest
	HostName ************
	User ************

~/.ssh/conf.d/personal

Host myserver
	HostName ************
	User ************

Host myhost
	HostName ************
	User ************

Below is not support

~/.ssh/config

Include conf.d/**