generate ssh key from git to mac code example Example: create ssh key mac github $ ssh-keygen -t ed25519 -C "[email protected]"