In this article let’s discuss about How to copy ssh key on mac?. Let’s go through the following methods without any delay.
cat ~/.ssh/id_rsa.pub | pbcopy
If you are facing any issues with the above approach then try the alternative that is given below. It may look similar but have a try!
Method 2 :
clip < ~/.ssh/id_rsa.pub
Hope the above solution works.