Skip to content

Instantly share code, notes, and snippets.

@gduquesnay
Created April 14, 2018 21:07
Show Gist options
  • Save gduquesnay/0ded429133a221ec557db8bffe955255 to your computer and use it in GitHub Desktop.
Save gduquesnay/0ded429133a221ec557db8bffe955255 to your computer and use it in GitHub Desktop.
Pairing server setup
Prerequisite: You have ssh access to an ubuntu server which will be set up for pairing
* Install zsh and oh-my-zsh
* Create a pairing user
* Change the default editor to vim, sudo update-alternatives --config editor, choose vim.basic
* Allow the pair user to sudo without password, visudo, "pair ALL=(ALL) NOPASSWD: ALL"
* Generate ssh keys for the pair user
* Add public keys to authorize team to ssh as the pairing user
* Install git
* Install wemux
* Config wemux to allow pairing user to host sessions
* Add users for individual team members and add their public keys to the authorized_keys for their account
* Install dotfiles
* Install Mosh, open the mosh ports "sudo ufw allow 60000:61000/udp"
*
* Install the_silver_searcher
*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment