SFTP on EE4 (But I still can't access it)

Hello. I followed the new tutorial, but I’m getting the following message when trying to access sftp through it: “Exhausted available authentication methods.”

Besides adding the user name in the users.conf file, do I need to create it also in the operating system? Do I need to do any configuration to change the permissions? Sorry if the question seems silly, but it’s that I don’t understand much of OS, I work most of the time as a designer.

Here’s my configuration in the file users.conf:


And here follows my configuration in the file docker-compose.yml:

    image: atmoz/sftp
    restart: on-failure
        - /opt/easyengine/sites/site.com/app/htdocs/:/home/sftpuser/upload
        - ./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
        - "2222:22"

I’ve reviewed the process a few times, but I couldn’t find the error. I’ll be grateful if anyone can show me the way.

Sorry, I was trying to connect to port 22, the same as SSH, what happens is you had to connect through port 2222. I was silly. Thanks again for your attention and I hope to help other people.

1 Like

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