• http://www.vladimirnikolic.info/ Vladimir Nikolic

    Good one! Thanks to you created SFTP. Thank mate.

  • ovicostea

    Thank you for this information. Very useful.

  • Eduardo D Jr Barrete

    hi how to config instead in the home/ it should be in /var/www directly after sftp login

    thanks

    • krizna

      Use -d while creating usernames
      sudo useradd -m -d /var/www/john john -g ftpaccess -s /usr/sbin/nologin

  • Aasim Mistry

    HI, I have tried with a particular folder so on login the user is directly going to that folder but the user can go back to the root and go into any other folder and add delete files so the whole purpose of limited access to a particular folder is defeated. Any inputs will be highly apreciated

  • Phil

    Hi, I’m getting a ‘553 Could not create file’ response. I’m using port 21 (for now). Any thoughts? Thanks

    • Phil

      Delete also fails (550 Delete operation failed). Guessing permissions?

  • Jim

    Hi, looks like the default config has changed since this was written, I don’t see the usePAM line, there’s pam_service and some rsa info