DEV Community

Discussion on: How to Manage Multiple SSH Key Pairs

Collapse
 
alexeydc profile image
Alexey

I'd recommend using

ssh-keygen -t ed25519 -f keyname
Enter fullscreen mode Exit fullscreen mode

ed25519 is much better than RSA - more secure, shorter keys.

E.g. see medium.com/risan/upgrade-your-ssh-...

Collapse
 
josephmidura profile image
Joseph Midura

This is an excellent point. While researching this article, I was surprised to see that Bitbucket documentation uses RSA by default (April 2021). I'll likely change my first step to recommend ed25519 when I have a chance to do some edits.