Skip to content

Add support for SSH certificate-based authentication #824

@brncsk

Description

@brncsk

Something along the lines of https://carlosbecker.com/posts/golang-ssh-client-certificates/ would be nice.

For others coming here not understanding why their cert-based auth fails, one reason for getting the following error could be that you are authenticating using the private key, but (unlike ssh CLI, which appends -cert.pub to the -i flags value), Pulumi does not try to find the cert automatically:

after 1 failed attempts: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none publickey], no supported methods remain

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions