title: Attach a tmux session over SSH and run a command
body: <p>This works to attach a session with a specified name or create if it doesn't exist:</p>
  
  <p><code>tmux new-session -A -s encode</code></p>
  
  <p>but I need to add a command to run ie.</p>
  
  <p><code>tmux new-session -A -s encode 'ls /home/user/'</code></p>