Supported SSH key formats

The following table shows the supported key types and the minimum key size for each supported key type. Bitbucket Cloud only accepts public keys in OpenSSH's authorized_keys format.

Type of key

Minimum key size (bits)

Example

Ed25519 (ed25519)

256

1 ssh-keygen -t ed25519 -b 256

ECDSA (ecdsa)

256

1 ssh-keygen -t ecdsa -b 256

RSA (rsa)

2048

1 ssh-keygen -t rsa -b 2048

DSA / DSS (dsa)

1024

1 ssh-keygen -t dsa -b 1024

Additional Help