*** working sftp for ee v4

Finally, I found a way to set up SFTP in EE V4. I know is not the best way but hey we can’t wait forever for the new release thats why here I am sharing my method :wink:

Create Users
Open the terminal application.
Login to Ubuntu server using ssh.
Add a new user named foo to www-data group by running
useradd -g www-data foo
Add an existing user bar to Apache’s www-data group on Ubuntu using
usermod -aG www-data foo

Setup Permissions
Allow user to access the directory
chmod g+x /var/lib/docker/volumes/
chgrp www-data /var/lib/docker/volumes/

Allow SFTP Authentication

Check the file to allow authentication via login /etc/ssh/sshd_config using this command:
sudo vim /etc/ssh/sshd_config

Then, change the line
PasswordAuthentication no
PasswordAuthentication yes

After making the changes, restart the SSH service by running the following command as root:
sudo service ssh restart

I am sorry you went through all that trouble for nothing but there is an article on how to set up SFTP on EEv4 correctly to work with the containers and to provide the user with the correct access rights. I would recommend following the below instructions in the future.

Configure SFTP on EE4 server

I got a working SFTP/IDE by building a custom Docker image :stuck_out_tongue_winking_eye:

Screen Shot 2019-09-20 at 1.10.47 AM