Confused here
I guess I'm using SFTP since its connecting over the same port as ssh. Btw, there seems to be a lot of confusion on the net as to which one is which :P
I installed Proftpd all by myself, downloaded it from proftpd.org, compiled, made it work. And it does work too, since via normal ftp the server greets me with the custom message I set and all that.
I did not know that SFTP is independent and not related to proftpd. I did wonder about it though, I just don't have the knowledge yet. I guess this means that I can just go ahead and remove it?
It still leaves my original problem
--
Late night edit: while I was at it, I managed to update OpenSsh to 5.8. Server still works after restart :P
I tried playing around with what you wrote
here, but after restarting sshd my sftp client would not connect.
If you want to, you can close / kill this thread, since it is painfully obvious (even) to me that my problem is actually hidden in sshd and permissions and it has nothing to do with proftpd.
I just need 2 basic things: SFTP and a way for three users to write into 3 places, all under var/www/html. Can anyone help me achieve this in a reasonable time-frame?
-----------------
SOLVED.
1. Created the sftponly group.
2. Created a user that is located in /home/user1. Chowned recursively to root:root.
3. Mounted the /var/www/html/site1 directory to the /home/user1/site1 directory. Then to permit write access, I chowned recursively the /home/user1/site1 directory.
http://ubuntuforums.org/showthread.php?t=858475 - this helps a lot. The part with the force user login directory is a must.
Recent comments
14 hours 11 min ago
19 hours 16 min ago
23 hours 41 min ago
1 day 1 hour ago
1 day 15 hours ago
1 day 15 hours ago
1 day 20 hours ago
2 days 3 hours ago
2 days 4 hours ago
2 days 5 hours ago