Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-6078

container-create-ssh fails with ECDSA private key

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • jboss-fuse-6.3
    • jboss-fuse-6.2.1
    • Fabric8 v1
    • None
    • % %
    • Hide

      1. Configure two Linux systems to allow password-less SSH using ECDSA keys only (ssh-keygen -t ecdsa, then remove any default RSA keys)
      2. Install Fuse 6.2.1 on one of these systems
      3. fabric-create, with defaults
      4. container-create-ssh --private-key /path/to/id_ecdsa...

      This will fail with the error message:

      [some_host]: invalid privatekey: [B@5fc0e1d1

      Show
      1. Configure two Linux systems to allow password-less SSH using ECDSA keys only (ssh-keygen -t ecdsa, then remove any default RSA keys) 2. Install Fuse 6.2.1 on one of these systems 3. fabric-create, with defaults 4. container-create-ssh --private-key /path/to/id_ecdsa... This will fail with the error message: [some_host] : invalid privatekey: [B@5fc0e1d1
    • Sprint 7 - towards CR2

      'container-create-ssh' supports password-based and certificate authentication for the SSH operations. Certificate authentication works fine for RSA keys, but fails with ECDSA. The error message is of the form

      [some_host]: invalid privatekey: [B@XXXXXX

      where "some_host" is the host against which the command was executed.

      The same sequence of commands works if an RSA private key is specified.

            janstey@redhat.com Jonathan Anstey
            rhn-support-kboone Kevin Boone
            Roman Jakubco Roman Jakubco (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: