The command ssh-keygen (the OpenSSH authentication key utilit) can be used to generate keys.
Example usage: ssh-keygen -t ed25519 -C "myemail@mydomain.com". The -t option signifies type, and ed25519 refers to the algorithm based on Elliptic Curve Cryptography (it competes with RSA which is needed for compatibility with older systems). The -C flag provides a new comment. info ssh-keygen will help you decode other command line options for generating keys.
The generated key is stored in ~/.ssh.
No comments:
Post a Comment