Skip to content

Instantly share code, notes, and snippets.

@yaf
Created March 29, 2016 14:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save yaf/8d2f09ba2d8ff4ac3529 to your computer and use it in GitHub Desktop.
Save yaf/8d2f09ba2d8ff4ac3529 to your computer and use it in GitHub Desktop.
Use to connect to a tmux session named "binomage". Start this session with -L on machine , and add this line in ~/.ssh/authorized_keys file
command="/usr/bin/tmux -L binomage attach",no-port-forwarding,no-X11-forwarding,no-agent-forwarding ssh-rsa
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment