Generate RSA key in Ubuntu 20.04

Whenever I create a public/private keypair using ssh-keygen in Ubuntu 20.04, I get an OpenSSH private key file instead. Even if I manually specify that I want to use rsa using the following command:

ssh-keygen -t rsa

I still get the following for the id_rsa private key file:

-----BEGIN OPENSSH PRIVATE KEY-----
...KEY...
-----END OPENSSH PRIVATE KEY-----

Why does it say OPENSSH instead of RSA and does that matter?

It seems to only be an issue with Ubuntu 20.04.

4 Reset to default

Know someone who can answer? Share a link to this question via email, Twitter, or Facebook.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like