Limiting directory access via SSH?

Okay, I've got a question for you gurus out there that's really stumping me. I've installed SSH on a Plesk box for a client who's wanting to over this to his virtual hosting account clients over Telnet (good idea). I'm disabled Telnet, and SSH is working fine, no problems. What the issue is, is that any account on the box has free rights to wander all over the machine! Sure, they can't write/overwrite files/directories that they aren't the owner of, but I want to limit them to their virtual directory only. I know this can be done, and I suspect it is a shell issue, but I can't for the life of me figure it out.

Example, virtual account has the following directory assigned to the user: /www/var/vhosts/domain.com

I want to limit the user to that directory and all directories within. I do not want them to be able to view anything outside of domain.com and the directories within.

How do I go about this? I know this isn't a SSH or Plesk issue. Thank you very much in advance for any suggestions/advice.

-RC

 

 

 

 

Top