Skip to content

Instantly share code, notes, and snippets.

@JoaquimLey
Last active November 14, 2018 02:52
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 JoaquimLey/7de46109b8da195efac0909521e92478 to your computer and use it in GitHub Desktop.
Save JoaquimLey/7de46109b8da195efac0909521e92478 to your computer and use it in GitHub Desktop.
Change github user on terminal, manual way

First restart the ssh agent

  killall ssh-agent; eval `ssh-agent`

You should see something along the lines of: Agent pid 59566

Now just add your "new" user .ssh key

ssh-add ~/.ssh/id_rsa
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment