Skip to content

Instantly share code, notes, and snippets.

@oiljin
Created May 11, 2016 07:58
Show Gist options
  • Save oiljin/67c847cf34b555e1c8e757a7df4b601d to your computer and use it in GitHub Desktop.
Save oiljin/67c847cf34b555e1c8e757a7df4b601d to your computer and use it in GitHub Desktop.
$ sudo apt-get install xclip
# Downloads and installs xclip. If you don't have `apt-get`, you might need to use another installer (like `yum`)
$ xclip -sel clip < ~/.ssh/id_rsa.pub
# Copies the contents of the id_rsa.pub file to your clipboard
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment