LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Filezilla Error (https://www.linuxquestions.org/questions/linux-software-2/filezilla-error-4175499605/)

sniper8752 03-26-2014 08:46 PM

Filezilla Error
 
When I add the following lines to my sshd_config file, I get a "network error: software caused connection abort" in Filezilla. When I remove these lines, it works fine. But the user can go outside of their directory.

Code:

AllowGroups sftpusers
Match Group sftpusers
ChrootDirectory %h
AllowTCPForwarding no
ForceCommand internal-sftp

My users are part of the sftpusers group.
Any ideas as to why it isn't working?

rshuman222 03-28-2014 07:13 AM

I take it that "ChrooDirectory" is meant to be "ChrootDirectory" ?
Also:
- why restrict tcp forwarding?
- I'm not entirly sure, but I believe a chroot cell should be owned by the root user (and thus non-writeable by users)

sniper8752 03-28-2014 08:35 AM

I updated the original post code.
I was just following a tutorial online. What does TCP forwarding do?
And do you mean, when you do a ls -l on the home directory, it is root:root? And how would you make it so that a standard user can write to it?


All times are GMT -5. The time now is 10:04 AM.