4 ms·
Can't you generate a public key from a private one easily?
by skeletonjelly 13y ago
Can't you generate a public key from a private one easily?
- gbaygon 13y agoYes: ssh-keygen -y -f private_key.pem > public_key.pub
- emmelaich 13y agoYes and no. It extracts the public key from the private key file. The "private" key file includes both keys. The public key file doesn't.
- dlitz 13y ago> The "private" key file includes both keys. It wouldn't need to, though. Given the private key (n,d), the public key is probably (n,65537).