[ 
https://issues.apache.org/jira/browse/JCLOUDS-921?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14581845#comment-14581845
 ] 

ASF subversion and git services commented on JCLOUDS-921:
---------------------------------------------------------

Commit 7e1838afbba4028bf47f722f08d4e4bd289c0d0a in jclouds's branch 
refs/heads/1.9.x from [~nacx]
[ https://git-wip-us.apache.org/repos/asf?p=jclouds.git;h=7e1838a ]

JCLOUDS-921 prioritise key over password in SessionConnection


> 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)

Reply via email to