-
-
Save aguerrave/2db7867b057e4a44a303110621784dc8 to your computer and use it in GitHub Desktop.
linux copy ssh rsa key, xclip xsel pbcopy
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
xclip -sel clip < ~/.ssh/id_rsa.pub | |
# in case you get a display null error | |
DISPLAY=:0 xclip -sel clip < ~/.ssh/id_rsa.pub | |
# osx | |
pbcopy < ~/.ssh/id_rsa.pub | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment