How do I access my SSH public key on mac?

While setting up the repositories on github or other services we encounter this very often.

We stuck when it comes to get a ssh key for mac terminal. Here i found a very quick solution to copy ssh public key to clipboard.

$ pbcopy < ~/.ssh/

This is a simple command which copies the ssh key to clipboard then paste it where ever you wanted.

Author Profile

Tech Lover , Open Src Dev , Dotnet Core, Ionic, Xamarin, Node, Angular2, Python, Opencv, AI, ML, Robotics, SignalR, Iot, Love Music, Cooking, Girls, Innovation.
Like Love Haha Wow Sad Angry

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Enable Notifications.    Ok No thanks