how to get public key fromssh file code example Example: cat ~/.ssh/id_rsa.pub open generated ssh key cat ~/.ssh/id_rsa.pub