duncs / clusterssh

Cluster SSH - Cluster Admin Via SSH
https://github.com/duncs/clusterssh/wiki
896 stars 79 forks source link

.ssh/config Include directive is ignored #77

Closed Azenet closed 7 years ago

Azenet commented 7 years ago

Hi,

The Include directive in .ssh/config is ignored, and for me that causes massive delay starting ClusterSSH, since it tries to lookup the hostname for each host. I put this together for my own use, but it's probably bad Perl code.

duncs commented 7 years ago

It looks fine to me. The only thing I can see is to change line 40 from read_ssh_file($self, $self->{ssh_config}); to $self->read_ssh_file($self->{ssh_config});

Can you put it through as a pull request, please?