jclouds-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stuart Hendren (JIRA)" <j...@apache.org>
Subject [jira] [Created] (JCLOUDS-921) Can not ssh with key and sudo password
Date Mon, 01 Jun 2015 14:59:17 GMT
Stuart Hendren created JCLOUDS-921:

             Summary: Can not ssh with key and sudo password
                 Key: JCLOUDS-921
                 URL: https://issues.apache.org/jira/browse/JCLOUDS-921
             Project: jclouds
          Issue Type: Bug
            Reporter: Stuart Hendren

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 message was sent by Atlassian JIRA

View raw message