Correct FTP Setup to access all sites V4

Hi All

What would the correct setup be to access all my sites via FTP using 1 single user?

I cannot for the life of me get it working.

This is what I am following:

UPDATE: I have setup FTP to the correct directories, but now the FTP user sees no documents/files.

Does anyone have any idea?

I am also stuck on the same cant access the website folders as permission denied. Someone please help on this on priority as we could not access the site using ftp.

How???

I followed the tutorial found in the handbook: https://easyengine.io/handbook/configure-sftp-on-ee4-server

Solution is to use port 2222

Can you give an example of your file docker-compose.yml?

I did have some errors after running ```
cd ~/.sftp-config/ && docker-compose up -d


So nano'd the file and removed everything and pasted from notepad. Then it worked.

sftp:
    image: atmoz/sftp
    restart: on-failure
    volumes:
        - /opt/easyengine/sites/(Replaced-with-my-site)/app/htdocs/:/home/(Replaced-with-my-ftp-user)
        - ./ssh_host_ed25519_key:/etc/ssh/ssh_host_ed25519_key
        - ./ssh_host_rsa_key:/etc/ssh/ssh_host_rsa_key
        - ./users.conf:/etc/sftp/users.conf:ro
    ports:
        - "2222:22"

I am having a file permissions problem now (via FileZilla). Anyway around that?

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.