Skip to content

Instantly share code, notes, and snippets.

View aliciawyy's full-sized avatar

Alice Wang aliciawyy

  • Paris, France
  • 17:55 (UTC +02:00)
View GitHub Profile
@aliciawyy
aliciawyy / add_new_ssh_key.txt
Created November 30, 2017 15:04 — forked from fcrobot/add_new_ssh_key.txt
Add a new ssh key to git
- Generate a key
cd ~/.ssh
ssh-keygen -t rsa -b 4096 -C "[email protected]"
- Add the key to your pc
eval "$(ssh-agent -s)"
ssh-add ~/.ssh/id_rsa
- Copy the SSH key to your clipboard.
xclip -sel clip < ~/.ssh/id_rsa.pub