title: Sending terminal commands from ssh-remote server back to local through ssh?
body: <p>I'm trying to send terminal commands into my local Mac from my remote linux server. This is currently to generate
  local notifications </p>
  
  <pre><code>(using terminal command: 
  """osascript -e 'display notification "Message" with title "Title" subtitle "Subtitle" sound name "chimp"')"""
  </code></pre>
  
  <p>for changes determined by my app running on the server, but I think, if I have this sorted, 
  I might use this for other uses/sending/exchanging other commands too later. 
  Currently, I ssh in the server in the first place. I dont fully understand this process as it was preconfigured on my 
  system. Can someone explain how this can be achieved?</p>
  
  <p>PS: it will be helpful to be able to keep my/local/receiver IP as a variable and use that variable, as I might have to do this with multiple systems or change my own ip sometime. Also, implementing a password protection so only my app/admin can change/use this channel will help. </p>