Hi,
Probably you’re facing this issue. The workaround is to configure passwordless sudo in your target node. Alternatively, you can apply this patch in the SSHJ plugin. As a last resort, you can go back to the default JSCH plugin, and then add the following config on the target node sshd_config file to support old RSA keys supported by the JSCH plugin:
PubkeyAuthentication yes PubkeyAcceptedKeyTypes=+ssh-rsaRegards.