You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@jclouds.apache.org by "Stuart Hendren (JIRA)" <ji...@apache.org> on 2015/06/01 17:02:17 UTC

[jira] [Updated] (JCLOUDS-921) Can not ssh with key and sudo password

     [ https://issues.apache.org/jira/browse/JCLOUDS-921?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Stuart Hendren updated JCLOUDS-921:
-----------------------------------
    Affects Version/s: 1.9.0

> 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
>    Affects Versions: 1.9.0
>            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
(v6.3.4#6332)