ssh access public key command code example Example: get public ssh key ssh-keygen cat ~/.ssh/id_rsa.pub