$ ssh-keygen -y -f privatekey > publickey