Open diacone opened 7 years ago
gradle-ssh-plugin-2.8.0 (groovy-ssh-2.8.0, jsch-0.1.53, groovy-2.4.7, java-1.8.0_92)
Set knownHosts to allowAnyHosts
ssh.settings { knownHosts = allowAnyHosts }
When you disable host checking, you get the warn from the internal logger:
Host key checking is off. It may be vulnerable to man-in-the-middle attacks.
I could not find any way to disable that. It would be nice to be able to somehow suppress this message (beside changing gradle's log level with -q).
This is especially annoying when you run long running commands in the background and then poll for results.
@diacone - Did you find a way to suppress those messages?
Environment info
gradle-ssh-plugin-2.8.0 (groovy-ssh-2.8.0, jsch-0.1.53, groovy-2.4.7, java-1.8.0_92)
Steps to reproduce
Set knownHosts to allowAnyHosts
When you disable host checking, you get the warn from the internal logger:
Host key checking is off. It may be vulnerable to man-in-the-middle attacks.
I could not find any way to disable that. It would be nice to be able to somehow suppress this message (beside changing gradle's log level with -q).
This is especially annoying when you run long running commands in the background and then poll for results.