Uploaded image for project: 'jclouds'
  1. jclouds
  2. JCLOUDS-921

Can not ssh with key and sudo password

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.9.0
    • 1.9.1, 2.0.0
    • jclouds-drivers
    • None

    Description

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            hendrens Stuart Hendren
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: