Filezilla Network Error Software Caused Connection Abort Sftp

Posted on
Filezilla Network Error Software Caused Connection Abort Sftp 5,0/5 7705 votes
  1. Filezilla Network Error
  1. FileZilla FTP Client fzsftp.exe'. Network error: Software caused connection abort. Network error: Software caused connection abort.
  2. Error: Network error: Software caused connection abort Error: File transfer failed I also tried winSCP, but still have the same problem there too. File-transfer sftp filezilla share improve this question.

Network error: Software caused connection abort. I get the following error message in putty and FileZilla when using the. Putty software caused network abort.

For several days now, I am getting an error on FileZilla. I have no idea what the problem is.

This error always pops up when I access the server to download a file. The error is as follows:

'Error: Network error: Software caused connection abort

Error: File transfer failed after transferring 55,738,368 bytes in 67 seconds

Filezilla Network Error

Error: Connection timed out

Error: File transfer failed after transferring 2,916,352 bytes in 139 seconds'

Error:

Network error: Software caused connection abort

  • Status: Open
  • Question Views: 7597
  • Answer Count: 3
  • Vote Up 0 Vote Down
  • Answer Accepted: Yes
  • Question Category: FTP Clients

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.

Software

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.

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.

onggieonggie

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.

onggieonggie

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.

Filezilla

Hth,Fabrizio

fabregfabreg

Not the answer you're looking for? Browse other questions tagged permissionschrootsftp or ask your own question.