Skip to content

Add OpenSSH public key export format support #17

Description

@AngelNicolas0

Feature Request

Summary

Please add support for exporting public keys in OpenSSH format (ssh-rsa, ssh-ed25519, etc.).

Problem

Currently, the available export formats are PEM, DER, DER (Base64), and JWK. While these formats are useful for certificates, PKI, and web applications, many SSH/SFTP services require public keys in OpenSSH format.

For example, AWS Transfer Family only accepts public keys in formats such as:

ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQ...

and does not accept PEM-encoded public keys like:

-----BEGIN PUBLIC KEY-----
...
-----END PUBLIC KEY-----

As a result, users must perform additional conversions using external tools such as OpenSSH or OpenSSL.

Proposed Solution

Add an export option for:

  • OpenSSH Public Key
  • Authorized Keys format

Examples:

ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQ...
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAI...

Benefits

  • Better interoperability with SSH and SFTP servers.
  • Direct compatibility with services such as AWS Transfer Family.
  • Eliminates the need for external key conversion tools.
  • Improves the experience for system administrators and cloud engineers.

Thank you for considering this enhancement.

Activity

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions