title: Bash, stdout redirect of commands like scp
body: <p>I have a bash script with some scp commands inside.
  It works very well but, if I try to redirect my stdout with "<strong>./myscript.sh >log</strong>", only my explicit echos are shown in the "log" file.
  The scp output is missing.</p>
  
  <pre><code>if $C_SFTP; then
     scp -r $C_SFTP_USER@$C_SFTP_HOST:$C_SOURCE "$C_TMPDIR"
  fi
  </code></pre>
  
  <p>Ok, what should I do now?
  Thank you</p>