I am having this problem (Network error: Software caused connection abort) when I try to access an SFTP user that I create. https://screenshot.net/pt/v67yef9
When I created the user, he accessed normally. However, it accessed all the system folders, but I wanted your access to be only from the /var/proddigital.com.br/wp-content folder
So I followed the article below and created a group, restricted access to this folder /var/proddigital.com.br/wp-content and then entered the user into that group.
After that, I can no longer log in with this user. It shows me the message “Network error: Software caused connection abort”.
I run the command: cat/etc/passwd (https://screenshot.net/pt/842lnf5) and it shows me that the folder path for the user to reach the /wp-content folder is “/home/tagdiv-alin/proddigital.com/wp-content ”, but I tried to access this path with the root user and it does not work.
In fact, inside the /home/tagdiv-alin folder there is no shortcut folder for /proddigital.com.br (https://screenshot.net/pt/m6ej7fw) as it has in the / root folder (https://screenshot.net/pt/o674kfm).
So I figured that inside the /home/tagdiv-alin folder there should also be a shortcut folder for /proddigital.com.br, which is why it is failing to try to login with the user. Am I right?
If so, then how do I create this shortcut folder?
If not, then what could be the problem?
The following is also the authentication error log (/var/log/auth.log): https://screenshot.net/pt/z67ykf0
The following is also the syslog error log (/ var / log / syslog): https://screenshot.net/pt/0jrewud
I hope this information helps you identify the problem.
Thanks for the help.