jclouds/drivers/sshj
Stuart Hendren f6a97139c9 JCLOUDS-921 prioritise key over password in SSHClientConnection
From ticket:
If keyboard interactive login is not allowed on the box but the user also requires a sudo password the ssh fails as it prioritises the password.
If you remove the password then the sudo fails in the SudoAwareInitManager.
It would seem better to prioritise the key over the password in SSHClientConnection or possibly try both if they are both present, and the first fails.

This commit swaps the order of the if else check to use the ssh key if present.
2015-06-11 13:48:19 +02:00
..
src JCLOUDS-921 prioritise key over password in SSHClientConnection 2015-06-11 13:48:19 +02:00
pom.xml Next development version 2.0.0-SNAPSHOT 2015-03-24 10:52:01 +01:00