Question

ssh credential detail

Posted January 13, 2020 134 views
Ubuntu 18.04

when I created droplet,
it came with
/root/.ssh/idecdsa
/root/.ssh/id
ed25519

Could you tell me what those are?

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

×
1 answer

Hi @yuri9163,

Those are your SSH keys. SSH keys are used for user authentication are usually stored in the user’s .ssh directory under the home directory. However, in enterprise environments, the location is often different. The default key file name depends on the algorithm, usually it’s idrsa when using the default RSA algorithm. It could also be, for example, iddsa or id_ecdsa.

Here is a bit more information about

/root/.ssh/idecdsa
/root/.ssh/ided25519

ecdsa - a new Digital Signature Algorithm standarized by the US government, using elliptic curves. This is probably a good algorithm for current applications. Only three key sizes are supported: 256, 384, and 521 (sic!) bits. We would recommend always using it with 521 bits, since the keys are still small and probably more secure than the smaller keys (even though they should be safe as well). Most SSH clients now support this algorithm.

ed25519 - this is a new algorithm added in OpenSSH. Support for it in clients is not yet universal. Thus its use in general purpose applications may not yet be advisable.

Regards,
KDSys

Submit an Answer