← Back to Home

Convert OpenSSH to SSH2

Paste Your OpenSSH Public Key

How to Use

1. Paste your OpenSSH format public key in the input area above

2. Click "Convert to SSH2" to transform it to SSH2 format

3. The converted key will appear in the output section

4. Use "Copy to Clipboard" to copy the SSH2 formatted key

OpenSSH Format Example:

ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQC7vbqajDhA... user@example.com

SSH2 Format Result:

---- BEGIN SSH2 PUBLIC KEY ----
Comment: "user@example.com"
AAAAB3NzaC1yc2EAAAADAQABAAABgQC7vbqajDhA...
---- END SSH2 PUBLIC KEY ----

Supported Key Types:

  • ssh-rsa - RSA keys
  • ssh-dss - DSA keys
  • ecdsa-sha2-nistp256 - ECDSA P-256 keys
  • ecdsa-sha2-nistp384 - ECDSA P-384 keys
  • ecdsa-sha2-nistp521 - ECDSA P-521 keys
  • ssh-ed25519 - Ed25519 keys