Hi, I have added a domain/website using ISPConfig. I have also created a new separate user manually using command line. A separate directory has been created for that user under /home/username. I want to create a SFTP user that I can give access to /home/username directory. Can you please tell me how I can create SFTP user using command line that gives access to /home/username. Or if I can modify ISPConfig created SFTP account settings to allow access to /home/username as well. Thank you!
The sftp user you create in ISPConfig can access his own home directory by default. So, all you do is create a shell/ssh user in ISPConfig. The home directory is not /home/username (there is no such directory on ISPConfig systems for sftp or ssh users), the directory is /var/www/clients/clientX/webX/home/username, but it will look to you like /home/username for a jailed user when you are logged in.