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:
sftpuser:password:33:33
And here follows my configuration in the file docker-compose.yml:
sftp:
image: atmoz/sftp
restart: on-failure
volumes:
- /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
ports:
- "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.