Skip to content

Instantly share code, notes, and snippets.

@afonsoaugusto
Created April 9, 2019 00:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save afonsoaugusto/fa89622cd898fe365d14c49f31eb6073 to your computer and use it in GitHub Desktop.
Save afonsoaugusto/fa89622cd898fe365d14c49f31eb6073 to your computer and use it in GitHub Desktop.
ssh-keygen -t rsa -b 4096 -C "email@domain.com.br"
eval "$(ssh-agent -s)"
ssh-add ~/.ssh/id_rsa
sudo apt-get install xclip
sudo yum 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