title: jsch change directory and get contents
body: <p>In jsch if we issue the command <code>cd ../ &amp;&amp; pwd</code> and if the result is <code>/home</code> .Next time if i execute the command <code>ls</code> will jsch output me the contents of <code>/home</code>.I do expect so ..</p>
  
  <pre><code>          Channel channel=session.openChannel("exec"); 
            ((ChannelExec)channel).setCommand("cd ../ &amp;&amp; pwd");
  
            channel.connect();
            channel.run();
  
            ((ChannelExec)channel).setCommand("ls");
  </code></pre>