Filezilla Network Error Software Caused Connection Abort Sftp

Re: Fresh install retropie 4.2 cannot ssh or sftp
FileZilla Network Error: Software Caused Connection Abort – FileZilla is one of the most popular FTP, FTPS, and SFTP client. If you want to transfer files from your local system to a server or vice versa, FileZilla is one of the best clients you can have. Error: Network error: Software caused connection abort Error: Could not connect to server I checked the wireshark logs on and all of the packets are being dropped FROM the server back to the network. I see the traffic flowing from internal out and a ton of restransmissions.seems like the issue is the ftp server communicating back external. The connection is using filezilla and is configured via SFTP and it's. Network error: Software caused connection abort. Issues - Network error: Software caused.
I used the raspi-config tool to enable SSH and rebooting my raspberry pi. But following the directions to connect to it via its IP, port 22, 'pi' for user, and 'raspberry' for password I am still unable to connect to it.
I AM able to connect to it via windows 10 but that only gives me access to the bios, roms, configs, and splashscreens folder. I want to access the game images and info to manually update some of the scraping data for various games.
I get the following error from FileZilla where <IP-removed> is the IP of my pie.
Status: Connecting to <IP-removed>...
Response: fzSftp started, protocol_version=8
Command: open 'pi@<IP-removed>' 22
Error: Network error: Software caused connection abort
Error: Could not connect to server
I get a similar but less verbose error when using WinSCP
I have scouted over many websites and forums on how to setup an SFTP user that is jailed to a certain directory using CHROOT. Here are the steps I have followed but I can't seem to get write permissions to work.
Setup
sshd_config
Create Folder
Create User and Group
Permissions and Ownership
Now with these settings the user uploader is able to SFTP into the home directory but is unable to write to the directory.
Filezilla Network Error

There are 2 typical errors that occur, I either can't login or I don't have write permissions.
Login Error
I am at odds end trying to figure this out and if anyone could point me into the right direction I would be greatly appreciate it.
Thank you.
2 Answers
Found out the solution. The user is jailed to /var/www/sites. I then created another folder /var/www/sites/site1. 
I use:
This enabled the home directory to have the correct permissions to login and then be able to write to the next folder up.
If the user needs write access to /var/www/sites, then you must jail the user at /var/www which has root:root ownership and permissions of 755. You then need to give /var/www/sites ownership of root:(your group) and permissions of 775.
Maybe the greatest solution is:
...
Add the users:

Then, for each user you have created, add an ssh tag like this:(you could also use the 'Match Group' directive as in your example instead of 'Match User')
So you can manage all users you need in a chrooted environment.
Hth,Fabrizio