DEV Community

Yurii Martynchuk
Yurii Martynchuk

Posted on

Copy SSH key to Clipboard

This is a short guide on how to copy your ssh key to the clipboard.

Mac

pbcopy < ~/.ssh/id_rsa.pub
Enter fullscreen mode Exit fullscreen mode

Linux (Ubuntu, Debian)

cat ~/.ssh/id_rsa.pub
Enter fullscreen mode Exit fullscreen mode

Windows (Git Bash)

clip < ~/.ssh/id_rsa.pub
Enter fullscreen mode Exit fullscreen mode

Top comments (0)