Skip to content

ssh-certificate support #482

Open
Open

Description

@marcvs

ssh certificates don't seem to be supported. Do you have plans adding them?

Activity

  1. steelbrain commented on Mar 27, 2026

    @steelbrain
    Owner

    Hi @marcvs!

    We do support ssh certificates, thats what the privateKeyPath (file) and privateKey (buffer) parameters in connect() are for. Have you tried them and found that they don't work?

  2. marcvs commented on Mar 30, 2026

    @marcvs
    Author

    Well, I need to add the certificate somewhere, right? I'd need to call connect() with some additional parameter that sends the certifcate (containing the signed pubkey) to the server.

    I've consulted my AI, which found that node-ssh and the underlying ssh2 did not support ssh-certificates, too.
    I had it implement the necessary changes in ssh2 and node-ssh, and got it working.

    Now: If it works without any changes to node-ssh and ssh2 I'd be all the happier.

  3. marcvs commented on Mar 30, 2026

    @marcvs
    Author

    I've added a PR for this here #483

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions