jclouds-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stuart Hendren <notificati...@github.com>
Subject [jclouds] JCLOUDS-921 prioritise key over password in SSHClientConnection (#761)
Date Mon, 01 Jun 2015 15:43:59 GMT
>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.
You can view, comment on, or merge this pull request online at:


-- Commit Summary --

  * JCLOUDS-921 prioritise key over password in SSHClientConnection

-- File Changes --

    M drivers/sshj/src/main/java/org/jclouds/sshj/SSHClientConnection.java (6)

-- Patch Links --


Reply to this email directly or view it on GitHub:

View raw message