Following this tutorial Configure SFTP on EE4 server I have configured my SFTP server but I am unable to get connected. I have reviewed the steps and still, I am unable. If I attempt to connect via FileZilla via 22 I get a message telling me Error: Authentication failed
and if I try with 2222 I get Network error: Connection refused
.
I took a copy of the private key and converted it to a ppk file for FileZilla to use while attempting to connect and I have even just tried to connect with a password and both of them keep saying auth failed.
I am running EE4 on Ubuntu 18.04.1 on a Digital Ocean droplet. Below is an example of my docker config file.
sftp:
image: atmoz/sftp
restart: on-failure
volumes:
- /opt/easyengine/sites/dev.cfimortgage.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"