^ I was following the FTP section verbatim in the guide I posted, so...
|
Ok then you are talking about 2 different things..... Are you talking about proftpd or SFTP? They are not the same thing and should not be substituted for each other.
|
I was just following the directions from the guide I posted verbatim.
|
I don't know why that just posted twice. Anyway, I've been using SFTP. I guess I wasn't paying to close of attention, then. So, what do I need to do? Thanks!
|
Like I said previously. I don't think you can use SFTP with /bin/false. I am pretty sure that if you change the shell to something other than /bin/false that SFTP should work.
Keep in mind that FTP, and FTPS are different than SFTP. SFTP is a subsystem of SSH and therefore has to follow the rules of SSH. What that guide appears to be trying to do is to setup FTP users not SFTP users. |
Great, I'm getting somewhere! Yay! So, what should I change bin/false to? Maybe I should remove it completely?
|
You should change it to an appropriate shell. /bin/bash etc...
|
Then, using sftp, what file would I edit to jail the users in their home directory I created? Thanks!
|
I have not done SFTP chroot on your linux distribution. http://www.dkpw.co.uk/wp/?p=3428 appears to give solid information on this topic.
I have only done SFTP chroot on RHEL and equivalent systems so hopefully this link will work for you. |
All times are GMT -5. The time now is 12:21 PM. |