How do I access my SSH public key?
Copy the key to your clipboard.
$ pbcopy < ~/.ssh/id_rsa.pub# Copies the contents of the id_rsa.pub file to your clipboard
Warning: it's important to copy the key exactly without addingnewlines or whitespace. Thankfully the pbcopy command makes it easy toperform this setup perfectly.
and paste it wherever you need.
More details on the process, check: Generating SSH Keys.