get my public ssh key code example
Example 1: cat ~/.ssh/id_rsa.pub
open generated ssh key
cat ~/.ssh/id_rsa.pub
Example 2: macbook get my public ssh key
cat ~/.ssh/id_rsa.pub
Example 3: get public ssh key
ssh-keygen
cat ~/.ssh/id_rsa.pub
Example 4: get public key from certificate
openssl x509 -inform der -in certificate.der -pubkey -noout > public_key.pem