Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Pairing with tmux

1433d0176e764f9ce48f70673baa72e8?s=47 Jay Hayes
January 17, 2014

Pairing with tmux

Folks are always telling you to pair with tmux. It's great. But you're often left with the task of figuring out how to do this remotely. Hopefully, this will help you fill in the blanks.

Slides accompanying Big Nerd Ranch Tech Talk http://vimeo.com/84434957

1433d0176e764f9ce48f70673baa72e8?s=128

Jay Hayes

January 17, 2014
Tweet

Transcript

  1. UNVY 1BJSJOHXJUI "#/35FDI5BML

  2. +BZ)BZFT !JBNWFSZ

  3. None
  4. JNNFSTJWFCPPUDBNQT DPOTVMUJOH XSJUJOH

  5. ↟ QBJSJOH ↟ UNVY ↟ NZTPMVUJPO ↟ EFNP

  6. 8IBUJTQFBS QSPHSBNNJOH

  7. None
  8. 8IBUJTQFBS QSPHSBNNJOH pair

  9. 1SPHSBNNJOH XJUIUXPCSBJOT

  10. 'FXFSCVHT  #FUUFSEFTJHO

  11. 8IBUJTUNVY

  12. 5FSNJOBM NVMUJQMFYFS

  13. 4FTTJPOT

  14. 8JOEPXT 1BOFT OPUQBJO

  15. 4IBSJOH

  16. 8IZQBJS XJUIUNVY

  17. *UTGBTU

  18. *UTBMMUFYU

  19. *UTGBNJMJBS

  20. 1BJSXJUIJU

  21. #ZF

  22. /P

  23. )PXFWFO

  24. UNBUFJP )POPSBCMF.FOUJPO

  25. UNVYGPSL

  26. [FSPDPOGJH

  27. POFTFTTJPO UPSVMFUIFNBMM

  28. *UTOPUUNVY

  29. .BJOUFOBODF CJUMZH2

  30. .ZTPMVUJPO ↟ BVUIFOUJDBUJPO ↟ DPOOFDUJPO

  31. "VUIFOUJDBUJPO

  32.  HJUIVCBVUI

  33. ,FZCBTFE BVUIGSPN (JUIVC

  34. gem install github-auth

  35. gh-auth add

  36. --users=“iamvery”

  37. --command=“tmux attach”

  38. --no-forwarding IUUQTHJUIVCDPNDISJTIVOUHJUIVCBVUIQVMM

  39. gh-auth add --users=iamvery --command=”tmux attach” --no-forwarding

  40. 1BTTXPSEMFTTBVUI ✓

  41. $POOFDUJPO

  42.  OHSPL

  43. 3FWFSTF UVOOFM

  44. *OUFSOFU BDDFTTJCMF

  45. ngrok --proto=tcp 22

  46. ssh -p 12345 user@ngrok.com

  47. $POOFDUBOZXIFSF ✓

  48. "VUPNBUJPO

  49. ng CJUMZOHTDSJQU

  50. 5IJO XSBQQFS

  51. $SFBUF UVOOFM

  52. ng connect

  53. $PNNBOE GPSQBJS

  54. $ ng ssh ssh -p 12345 tmux@ngrok.com

  55. pair CJUMZQBJSTDSJQU

  56. %FQFOETPO ng

  57. .BOBHFT HJUIVCBVUI

  58. pair add iamvery pair rm iamvery pair ls iamvery

  59. 4UBSU UNVYOHSPL

  60. pair up iamvery

  61. None
  62. %FNP CJUMZQBJSEFNP

  63. None
  64. 2VFTUJPOT

  65. #MPHHFEJU CJUMZUNVYCMPH

  66. 5IBOLT !JBNWFSZ CJUMZUNVYTMJEFT

  67. IUUQTUXJUUFSDPNUFOEFSMPWFTUBUVT $SFEJUT