on-internet
← Community

convert ed25519 private ssh key to RSA private key

Stack Overflow ·

I'm looking to convert an ed25519 private key to an rsa private key using ssh-keygen. I found this helpful guide but I am having trouble figuring out how to specify that the input format is ed25519 and the export format should be rsa. I've tried a bunch of different ways trying to match the synopsis and the description of flags, but every time I try, I get "Too many arguments" error from ssh-keygen. I'd also like to find the command to generate a public key from a ed25519 private key to verify that it works.

Comments

Sign in or sign up to comment and upvote.

No comments yet.