How to create a public key(id_rsa.pub) from private key(id_isa)?

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