Modern linux machines hasing known host keys and Jsch library supports hash known_hosts file format. But sshexec and scp tasks does not support it. Here is jsch example: http://www.jcraft.com/jsch/examples/KnownHosts.java Problem is there is no way to enable HashKnownHosts=yes option. Please support it.
I've added a new nested element <additionalConfig> that can be used to set any JSch Sesison configuration with b01e7008b So this would be <sshexec ...> <additionalConfig key="HashKnownHosts" value="yes"/> </sshexec>