#How to view SSH keys in Linux, macOS, and Windows

cat ~/.ssh/id_rsa.pub
 
Or:
 
cat /Users/USERNAME/.ssh/id_rsa.pub