Skip to content

Instantly share code, notes, and snippets.

@alloydwhitlock
Created September 13, 2017 23:34
Show Gist options
  • Save alloydwhitlock/ddccdfc1bbbac3dceb235136aa57bb68 to your computer and use it in GitHub Desktop.
Save alloydwhitlock/ddccdfc1bbbac3dceb235136aa57bb68 to your computer and use it in GitHub Desktop.
Alias structure for opening a remote tmux session automatically on a remote host with SOCKS proxy
alias bastionssh='ssh -X -K -D 9999 targethost.example.com -t tmux attach -t session_name'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment