how to retrieve public key in ssh terminal code example Example: cat ~/.ssh/id_rsa.pub open generated ssh key cat ~/.ssh/id_rsa.pub