title: Execute a command after successfully SSH connection
body: <p>I think I may of been googling this stuff wrong, however I was wondering if I could have my raspberry Pi execute a command after I connect to it via SSH.</p>
  
  <p>Workflow:
  1) SSH into Pi via terminal
  2) Once logged in, the Pi executes a command to display the current temperature (I already know of this command)</p>
  
  <p>The pi already outputs</p>
  
  <pre><code>Linux raspberrypi 3.10.25+ #622 PREEMPT Fri Jan 3 18:41:00 GMT 2014 armv6l
  
  The programs included with the Debian GNU/Linux system are free software;
  the exact distribution terms for each program are described in the
  individual files in /usr/share/doc/*/copyright.
  
  Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
  permitted by applicable law.
  Last login: Fri Jul 11 15:11:35 2014
  </code></pre>
  
  <p>I could be misunderstanding this all together, perhaps even have the command executed and shown in the dialog above.</p>