How to create a new SSH key
As a software developer it is common to connect to various services via SSH. Be it a remote SQL database or Git or a web server, we mostly use SSH to connect to the server.
Password authentication is not up to date anymore and short SSH RSA keys do not provide the expected security.
Good that there is ed25519 :)
You can generate a key with the following command
ssh-keygen -t ed25519 -C "mail@example.com"
You'll be asked where to save the key. The default location is ~/.ssh/id_ed25519.pub
Then you can copy your public key to the server. To show it use following command
cat ~/.ssh/id_ed25519.pub