Skip to content

Add support for encrypted private keys #346

@n0nvme

Description

@n0nvme

I got an error when tried to use encrypted private ssh key as identity

Expected Behavior

ask for passphrase then use it as usual

Actual Behavior

Failed to parse key: ssh: cannot decode encrypted private keys

Steps to reproduce behavior

ssh-chat --verbose --bind ":22" --identity ~/.ssh/id_rsa

where ~/.ssh/id_rsa ecnrypted(generated with passphrase) private key

Additional Comments

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions