Skip to content

Instantly share code, notes, and snippets.

@zph
Forked from jimnanney/My pairing instructions
Created June 9, 2013 16:20
Show Gist options
  • Save zph/5744137 to your computer and use it in GitHub Desktop.
Save zph/5744137 to your computer and use it in GitHub Desktop.
Hello! Glad we can get a pair session going. Here's some easy instructions to make things a bit easier.
Join the Google+ hangout and then make a ssh connection to my EC2 pair instance. I have copied your public key from github so you shouldn't need a password to login.
ssh pair@pair.jimnanney.com
Or if you add this to your ~/.ssh/config file you will be able to forward your keys to enable github checkout and in, and remotely view rails apps in your browser on your own machine and can just use the ssh command 'ssh pair' The local forwards allow you to view any rails app we work on within your own browser at localhost:3000 or 5000
Host pair
Hostname pair.jimnanney.com
User pair
ForwardAgent yes
LocalForward 3000 127.0.0.1:3000
LocalForward 5000 127.0.0.1:5000
Once logged in, create a new tmux session as follows (if you create it, then your keys are used for github connections):
tmux new -s <yourtwitterhandle>
I have vim and tmux setup, but not emacs yet. If you would like emacs, I can get it installed once the session is started.
Looking forward to our pair session!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment