How to copy ssh key on mac?

In this article let’s discuss about How to copy ssh key on mac?. Let’s go through the following methods without any delay.

Method 1:

cat ~/.ssh/ | 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/

Hope the above solution works.

Realted Posts : Error: gnupg, gnupg2 and gnupg1 do not seem to be installed, but one of them is required for this operation