title: Run a remote awk command using ssh
body: <p>I try to run a remote awk statement using ssh. My code is:</p>
  
  <pre><code>ssh username@hostIP "awk 'NR==1  {max=0;min=1} NR&gt;1 {if (max&lt;\$3) max=\$3}END {print max}' FS=\",\" /path_to_my_file"
  </code></pre>
  
  <p>When I run this command, I receive no error message, but command is not working and doesn't produce an output but just hanging so I would need to cancel it by ctrl+c.</p>
  
  <p>Is there something I am missing?</p>