title: SFTP not working
body: <p>I have a CentOS server where I have installed the vsftpd service, however I am getting the error</p>
  
  <p><strong>bash: sftp: command not found</strong></p>
  
  <p>Even the <code>which sftp</code> command can't find this service.</p>
  
  <p>Detailed steps below :</p>
  
  <p><em>As root:</em></p>
  
  <pre><code>yum install vsftpd
  Total download size: 139 k  
  Is this ok [y/N]: **y**
  </code></pre>
  
  <p><em>Configure:</em></p>
  
  <pre><code>vi /etc/vsftpd/vsftpd.conf
  </code></pre>
  
  <p>Change <code>anonymous_enable=YES</code> to <code>anonymous_enable=NO</code>  </p>
  
  <p>Add <code>userlist_deny=NO</code> after <code>userlist_enable</code></p>
  
  <p><em>Add allowed users:</em></p>
  
  <pre><code>vi /etc/vsftpd/user_list
  </code></pre>
  
  <p>Replace contents with:  </p>
  
  <blockquote>
    <p><code>vsftpd userlist</code><br>
    <code>userlist_deny=NO</code> so only allow users in this file<br>
    <code>user</code></p>
  </blockquote>
  
  <p><em>Turn on Vsftpd service</em></p>
  
  <pre><code>chkconfig vsftpd on
  </code></pre>
  
  <p><em>Start the service</em></p>
  
  <pre><code>service vsftpd start
  </code></pre>
  
  <p>Can someone help figuring out what I'm doing wrong ?</p>