Skip to content

Error: Cannot parse privateKey: Unsupported cipher for OpenSSH key: aes256-ctr #29047

@joewalker

Description

@joewalker

Version: Deno v2.2.4

Usage context: Trying to port code from nodejs which uses ssh2.

My code calls connection.connect(cfg)

Which then fails with:

Error: Cannot parse privateKey: Unsupported cipher for OpenSSH key: aes256-ctr
    at Client.connect (file:///…/node_modules/.deno/[email protected]/node_modules/ssh2/lib/client.js:261:15)

For context, this is a follow on from #24864 which was marked closed, but the patch (b8e2a73) didn't fix the problem (although it did change the error message!)

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    cryptoRelated to node:crypto or WebCrypto

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions