SSH keys - a comparison of rsa and ed25519. My understanding is that both are about equally secure: while ed25519 is more secure against known attacks, it is newer so more likely to have unexpected breakthroughs. https://wiki.archlinux.org/index.php/SSH_keys#Choosing_the_authentication_key_type #linux