gradle-ssh-plugin icon indicating copy to clipboard operation
gradle-ssh-plugin copied to clipboard

suppress/configure internal logging

Open diacone opened this issue 7 years ago • 1 comments

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

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 avatar Mar 21 '17 13:03 diacone

@diacone - Did you find a way to suppress those messages?

szaluk avatar Oct 18 '17 15:10 szaluk