title: SFTP connection in PHP (not via ssh)
body: <p>after creating a small library to send and receive files via SFTP using <strong>ssh2_sftp</strong> method I've found that the server which I have to connect to has ssh connection <strong>disabled</strong> and I can only connect through SFTP.</p>
  
  <p>The server connection works well under the command line using sftp command, but ssh sends me a <em>"This service allows sftp connections only."</em></p>
  
  <p>So as ssh2_sftp needs a previous ssh connection in order to work, I don't know which library or how to do things in order to connect to a SFTP server with SFTP authentication.</p>
  
  <p>Does phpseclib use a different authentication approach than ssh2_ftp?</p>
  
  <p>Any ideas? Thanks.</p>