Ssh-keygen
ssh-keygen -t rsa -b 4096
ssh-keygen -t dsa
ssh-keygen -t ecdsa -b 521
ssh-keygen -t ed25519
Lucky LyreDragonbird
ssh-keygen -t rsa -b 4096
ssh-keygen -t dsa
ssh-keygen -t ecdsa -b 521
ssh-keygen -t ed25519
ssh-keygen -t rsa -C "your_email@example.com"
ssh-keygen -t ed25519 -C "your_email@example.com"
eval "$(ssh-agent -s)"
ssh-add ~/.ssh/id_ed25519
# add the public key to remote
cat ~/.ssh/id_ed25519.pub | ssh <user>@<remote> 'cat >> ~/.ssh/authorized_keys'
# OR
ssh-copy-id -i ~/.ssh/id_ed25519.pub <user>@<remote>
ssh-keygen -t rsa -b 8192
#generate the key
ssh-keygen -t ed25519 -C <email> -f <filename>
#copy the ssh public key
clip < ~/.ssh/<filename>.pub
#make sure to change the git remote to SSH mode!
ssh-keygen -t ed25519 -C "<comment>"