- Run
install.sh - Sign into ngrok with your GitHub account
- Run
ngrok authtoken $YOUR_AUTH_TOKEN - On Mac, make sure
System Preferences>Sharing>Remote Loginis enabled. - Run
tmux - Run
whoami. Tell the user name to your pair. - Run
ngrok tcp 22 - You should see a line like
tcp://0.tcp.ngrok.io:12345in the output. Tell the port number to your pair. - Tell your computer's password to your pair.
- Run
ssh <user name>@0.tcp.ngrok.io -p<port number> - Authenticate with computer's password
- Run
tmux a - You and your pair should now be connected to the same terminal session
<C-Space>ccreates a new tab<C-Space>pand<C-Space>nnavigate tabs<C-Space>%creates a vertical split,<C-Space>"creates a horizontal split<C-Space>h,<C-Space>j,<C-Space>k,<C-Space>lnavigate panes (like vim)<C-Space>[enters vi mode- You can navigate like normal vim and select text with
vand then yank text withy - You can quit with
q
- You can navigate like normal vim and select text with
<C-Space>]pastes yanked text<C-Space>ddetaches from the tmux session (that is, the tmux session is still running)