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:45:17 UTC
[jira] [Commented] (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:comment-tabpanel&focusedCommentId=14567459#comment-14567459 ]
Stuart Hendren commented on JCLOUDS-921:
----------------------------------------
See pull request https://github.com/jclouds/jclouds/pull/761
> 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)