Skip to content

Instantly share code, notes, and snippets.

@seeflanigan
Created August 26, 2011 16:22
Show Gist options
  • Select an option

  • Save seeflanigan/1173786 to your computer and use it in GitHub Desktop.

Select an option

Save seeflanigan/1173786 to your computer and use it in GitHub Desktop.
Aliases for pairing
alias pairtunl='ssh -fNR 4242:localhost:22 $1'
alias pairinit='tmux -S /tmp/pairing new-session -d -s pairing'
alias pairjoin='tmux -S /tmp/pairing attach -t pairing'
# alias pairmuch='pairtunl $1 && pairinit && pairjoin'
command="ssh -A -p4242 [username_on_your_personal_machine]@localhost" [your pair's public key]
command="/usr/local/bin/tmux -S /tmp/pairing attach -t pairing",no-port-forwarding,no-X11-forwarding,no-agent-forwarding [your pair's public key]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment