Skip to content

Instantly share code, notes, and snippets.

@daviguima
Created March 9, 2020 09:47
Show Gist options
  • Save daviguima/fb29b1970f390e80190f90ba07bcdf84 to your computer and use it in GitHub Desktop.
Save daviguima/fb29b1970f390e80190f90ba07bcdf84 to your computer and use it in GitHub Desktop.
$ ssh-keygen -t rsa -b 4096 -C "your_email@example.com"
$ eval "$(ssh-agent -s)"
$ ssh-add ~/.ssh/id_rsa
$ sudo apt install xclip
$ xclip -sel clip < ~/.ssh/id_rsa.pub
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment