how to copy my ssh key in mac code example
Example 1: copy public key mac
pbcopy < ~/.ssh/id_rsa.pub
Example 2: how to copy ssh key
ssh-copy-id -i ~/.ssh/mykey user@host
Example 3: get ssh key mac
$ ls -al ~/.ssh
# Lists the files in your .ssh directory, if they exist