command to view public key code example Example: cat ~/.ssh/id_rsa.pub open generated ssh key cat ~/.ssh/id_rsa.pub