You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since Paramiko currently doesn't support Include (and Match) ssh_config directives, it's not possible to use SSH configuration that's split across two or more files. In my setup I have common settings in ~/.ssh/config and site-specific settings in ~/.ssh/site/config which are included from the former file via Include directive with glob. So it's not enough to just point Fabric to the latter file. I need to construct SSHConfigs from opened files and pass ssh_config to Config.
There are two PRs that tries implement support for Include/Match but they seem to be stuck for months. It'd be useful in the meantime and very well for other use cases to have the ability to specify list of configuration files to be parsed via ssh_config_path in addition to single string entry and explicitSSHConfig.
I can poke the code and see what I can do. I'd probably start by ditching self._user_ssh_path and self._system_ssh_path in favor of list of config file paths. Does it sound OK?
The text was updated successfully, but these errors were encountered:
Since Paramiko currently doesn't support
Include
(andMatch
)ssh_config
directives, it's not possible to use SSH configuration that's split across two or more files. In my setup I have common settings in~/.ssh/config
and site-specific settings in~/.ssh/site/config
which are included from the former file viaInclude
directive with glob. So it's not enough to just point Fabric to the latter file. I need to constructSSHConfig
s from opened files and passssh_config
toConfig
.There are two PRs that tries implement support for
Include
/Match
but they seem to be stuck for months. It'd be useful in the meantime and very well for other use cases to have the ability to specify list of configuration files to be parsed viassh_config_path
in addition to single string entry and explicitSSHConfig
.I can poke the code and see what I can do. I'd probably start by ditching
self._user_ssh_path
andself._system_ssh_path
in favor of list of config file paths. Does it sound OK?The text was updated successfully, but these errors were encountered: