ParallelSSH / parallel-ssh

Asynchronous parallel SSH client library.
https://parallel-ssh.org
GNU Lesser General Public License v2.1
1.2k stars 149 forks source link

OpenSSH config reading for native clients #103

Open pkittenis opened 6 years ago

pkittenis commented 6 years ago

Feature Request

Add OpenSSH config reading functionality for libssh2 clients.

Currently only the paramiko based clients have openssh config functionality for overriding configuration.

Provide this functionality to the libssh2 based clients by adding config reading capability and returning HostConfig entries.

BrianMusson commented 6 years ago

+1 I would find the ability to identify the proxy command per hostname as defined by the host_config entries valuable. The list of hosts I currently have used different proxy commands based on Host rules.

host_config['proxycommand'] specifically

pkittenis commented 6 years ago

That would be a different feature (per #106). Host config entries currently do not accept proxy host configuration - #82

pkittenis commented 4 years ago

Parsing config is now part of libssh2, can make use of that.