| Update: The title of this ticket indicates that ecdsa keys do not work with bolt. If the ecdsa key is generated with a version of Openssh that is pre 7.8 (or with the non-openssh format) then the key is compatible with the version of net-ssh (5.0.2) which shipped with bolt (pre 1.11.0). As noted in the comments the root cause is the Openssh formatted key. So keys (including keypairs that use the popular rsa algorithm) that use the Openssh format were incompatible with net-ssh (pre 5.0.2) and therefor with bolt. The bolt 1.11.0 release updated to the latest net-ssh version (5.1.0) which added support for rsa keys with the openssh format. However ecdsa keys with the Openssh format are still incompatible with the latest version (see comment above showing Net::SSH::Exception). So with bolt 1.11.0 an rsa key formatted in the Openssh format will work where previously it did not but ecdsa keys with Openssh format are still incompatible. Previously an Openssh formatted rsa key with bolt < 1.11.0 would produce the following error:
Ecdsa keys stored in the Openssh format still produce the following error:
[root@ebo9k1qf1fpcs67 Boltdir]# bolt command run whoami -n ecdsa-openssh |
|