groovy-ssh icon indicating copy to clipboard operation
groovy-ssh copied to clipboard

Support for HostKeyAlias

Open psimonazzi opened this issue 8 years ago • 0 comments

Any chance to provide a HostKeyAlias setting to support this ssh config feature?

Currenty, when we have a known_hosts file with an entry that uses an alias and not the real hostname, groovy ssh fails because it checks the specified host against the knownHosts file, ignoring the alias. To make it work we have to disable the check with allowAnyHosts.

Environment info

gradle-ssh-plugin-2.7.0 (groovy-ssh-2.7.0, jsch-0.1.53, groovy-2.4.7, java-1.8.0_91)

psimonazzi avatar Oct 03 '16 10:10 psimonazzi