I am unable to connect to a remote machine using gradle-ssh-plugin, but commandline ssh works reliably. I think it has something to do with the ssh protocol that is used:
commandline ssh:
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: server->client aes128-ctr hmac-sha1 none
debug1: kex: client->server aes128-ctr hmac-sha1 none
debug1: sending SSH2_MSG_KEX_ECDH_INIT
debug1: expecting SSH2_MSG_KEX_ECDH_REPLY
debug1: Server host key: ECDSA [...]
debug1: Host '10.2.37.88' is known and matches the ECDSA host key.
debug1: Found key in /home/user/.ssh/known_hosts:17
debug1: ssh_ecdsa_verify: signature correct
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug1: SSH2_MSG_NEWKEYS received
debug1: SSH2_MSG_SERVICE_REQUEST sent
debug1: SSH2_MSG_SERVICE_ACCEPT received
debug1: Authentication succeeded (none).
I have not found a way to configure if the plugin uses SSH or SSH2. Is this possible? I have searched the documentation and sources of the plugin and gradle-ssh, but could not find a way to configure it.
I am unable to connect to a remote machine using gradle-ssh-plugin, but commandline ssh works reliably. I think it has something to do with the ssh protocol that is used:
commandline ssh:
gradle-ssh-plugin log:
The only seemingly significant difference is in the protocol:
I have not found a way to configure if the plugin uses SSH or SSH2. Is this possible? I have searched the documentation and sources of the plugin and gradle-ssh, but could not find a way to configure it.
Environment info
gradle-ssh-plugin-2.9.0 (groovy-ssh-2.9.0, jsch-0.1.53, groovy-2.4.10, java-1.8.0_65)