title: Quoting with ssh command with a function call
body: <p>I need to execute the shell command as follows:</p>
  
  <pre><code>ssh &lt;device&gt; "command"
  </code></pre>
  
  <p>command is invoked as:</p>
  
  <pre><code>$(typeset); &lt;function_name&gt; \"arguement_string\"; cd ...; ls ... 
  </code></pre>
  
  <p>How exactly to quote here? Is this correct?</p>
  
  <pre><code>""$(typeset); &lt;function_name&gt; \"arguement_string\""; cd ...; ls ..."
  </code></pre>
  
  <p>I am confused with this quoting in shell scripts.</p>