1

I set up several websites on VPS with Ubuntu server. I use this guide.

So I added 3 sites. they are in these directories I guess: sudo mkdir -p /var/www/html/spiele33.de

Then I installed FTP and used this guide.

But this ftp user Sammy can no access to my websites directory. How can I allow this user and also how can I add ftp user which will be allowed in this directory: /var/www/html/ And anywhere on /var/

Pavel Sayekat
  • 527
  • 3
  • 9
  • 23
  • 1
    Possible duplicate of [setting up sftp to login into server with file zilla](https://askubuntu.com/questions/1024194/setting-up-sftp-to-login-into-server-with-file-zilla) - this is one possible way. In addition instead of FTP (that is less secure) you can use SFTP if you have properly setup SSH connection - see [Filezilla or WinSCP alternative for Ubuntu](https://askubuntu.com/q/987769/566421). – pa4080 Aug 14 '18 at 16:32
  • See also https://askubuntu.com/questions/1019027/how-to-create-sftp-user-to-access-to-a-specific-directory-only – Pavel Sayekat Aug 14 '18 at 18:43

1 Answers1

0

You just have to remove a line in config file.

Comment out this line:

chroot_local_user=YES
Eliah Kagan
  • 116,445
  • 54
  • 318
  • 493