title: How to list files of a directory in an other server using ssh2
body: <p>I would like to list the files of a directory in an other server </p>
  
  <p>I am connected to an other server using ssh2_connect function the connection is going well and I am able to fetch a desired file but I am not sure how the files can be listed.</p>