get public key linux code example
Example 1: cat ~/.ssh/id_rsa.pub
open generated ssh key
cat ~/.ssh/id_rsa.pub
Example 2: pbcopy ~/ssh ed_25519.pub
cat ~/.ssh/id_ed25519.pub | clip
open generated ssh key
cat ~/.ssh/id_rsa.pub
cat ~/.ssh/id_ed25519.pub | clip