Bash - Generate SSH public key from private key

ssh-keygen -y -f ~/.ssh/id_rsa