Allow specifying a ssh configuration other than the default file
Describe the Need:
Allows the use of managed and/or templated ssh configuration files for a company that are maintained separate from the individual users ~/.ssh/config file.
Net::SSH::Config.for(host) allows passing a path to a non-default configuration file. A --ssh-config option could be added to specify that file and pass it in ssh_config_for_host.
Describe the Enhancement:
Allow specifying a ssh configuration other than the default file
Describe the Need:
Allows the use of managed and/or templated ssh configuration files for a company that are maintained separate from the individual users
~/.ssh/config
file.Net::SSH::Config.for(host)
allows passing a path to a non-default configuration file. A--ssh-config
option could be added to specify that file and pass it inssh_config_for_host
.https://github.com/net-ssh/net-ssh/blob/master/lib/net/ssh/config.rb#L68 https://github.com/chef/chef-apply/blob/master/lib/chef_apply/target_host.rb#L277