I have CentOS with one ssh user which is root.
How do I make one more user for my web developer so he can scp files over to /var/www/html ? Its gonna be a static page, so mysql and alike are out of question. All I need is that user to be able to scp in and out files of /var/www/html
I tried to add user with home dir as /var/www/html by typing
# adduser -d /var/www/html webdev
but
1. this user was not able to write files into this dir
2. he is able to browse other directories on the server