Fabric8: container-create-ssh fails when SSH is configured to use ECDSA keys

Solution Verified - Updated -

Issue

container-create-ssh can be configured to use certificate-based authentication between Fabric8 hosts, rather than user/password. A prerequisite, of course, is that SSH is configured this way. Different certification schemes can be supported by using the --private-key switch to locate a specific private key. The default is $HOME/.ssh/id_rsa.

Unfortunately, container creation begins, but then fails, when using an ECDSA key, even when the SSH implementation supports such keys. The error message is simply "Invalid privatekey: XXXXX" (note that 'privatekey' is one word here) where XXXXX is a number that is unlikely to be helpful.

Environment

  • Red Hat JBoss Fuse
    • 6.2.1
    • All earlier releases

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content