Skip to content

Instantly share code, notes, and snippets.

@sooorajjj
Last active March 4, 2020 11:05
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 sooorajjj/a7fd240887e1e74f6b460f0db5766bfa to your computer and use it in GitHub Desktop.
Save sooorajjj/a7fd240887e1e74f6b460f0db5766bfa to your computer and use it in GitHub Desktop.
add gerrit ssh-key
$ git config --global user.email "blah@e.email"
$ git config --global user.name "blah"
$ ssh-keygen -t rsa -C "blah@e.email"
$ eval `ssh-agent`
$ ssh-add ~/.ssh/id_rsa_e_blah
#Identity added: /home/${USER}/.ssh/id_rsa_e_blah (blah@e.email)
$ ssh -p 29418 blah@gerrit.my.software
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment