How To Generate a new SSH key and add it to the ssh-agent

ssh-keygen -t ed25519 -C "your@email"

Enter a file in which to save the key:
/home/ivan/.ssh/id_ed25519_your@email

eval "$(ssh-agent -s)"

ssh-add /home/ivan/.ssh/id_ed25519_your@email

cat /home/ivan/.ssh/id_ed25519_your@email.pub

7th Apr 2024 — Ivan Shipilov

2024 iShipilov.ru
developed by iShipilov