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 16:59:17 UTC
[jira] [Created] (JCLOUDS-921) Can not ssh with key and sudo
password
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
(v6.3.4#6332)