title: SSH Error - standard in must be a TTY
body: <p>I'm trying to run the following command:</p>
  
  <pre><code>ssh -i FILENAME.pem ec2-user@ec2-00-000-00-00.eu-west-1.compute.amazonaws.com su --session-command="./update.sh"
  </code></pre>
  
  <p>I keep getting the error message:</p>
  
  <pre><code>standard in must be a tty
  </code></pre>
  
  <p>How can I <code>SSH</code> on to the server then run the file called <code>./update.sh</code>?</p>