title: Apache MINA SFTP Example
body: <p>I'm trying to set up an SFTP server with multiple users that each have their own home directory.</p>
  
  <p>I read <a href="https://stackoverflow.com/questions/29389249/how-to-set-root-directory-in-apache-mina-sshd-server-in-java">this answer</a> which explained how to set a virtual directory for a single user but I'm not sure how to have multiple users each with their own home directory.</p>
  
  <p>Can someone please tell me how to go about this?</p>