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

[jira] [Resolved] (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 ]

Ignasi Barrera resolved JCLOUDS-921.
------------------------------------
       Resolution: Fixed
    Fix Version/s: 1.9.1
                   2.0.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
>          Components: jclouds-drivers
>    Affects Versions: 1.9.0
>            Reporter: Stuart Hendren
>             Fix For: 2.0.0, 1.9.1
>
>
> 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)